Link to home
Start Free TrialLog in
Avatar of Wayne Barron
Wayne BarronFlag for United States of America

asked on

Compare 2 .txt File

Hello All;

  I need to look at the following 2 files loaded in "2" RichEdit's

one.txt
========
something
someting
else
goes
here
today
toay

---------
two.txt
========
someting
else
goes
here
toay

--------------

After the comparison.
I need to have the Results loaded into a 3rd Richedit.

The results need to be the words that "Do Not" match the "one.txt" entries.

one.txt   ---> Good
twn.txt   ---> Compare for Good

RichEdit3   ---> Takes the words that "DO Not" Compare to "one.txt"
(Think I already mentioned that one : )  Just wanted to make sure you all understand what I am needing).

I found a few articles here on EE that resemble this, but not really.
Like this one that uses TListBox   http:Q_20799616.html
But, I do not think that is what I am needing.

Any idea's (or) code for something like this would be really appreciated.

Carrzkiss
ASKER CERTIFIED SOLUTION
Avatar of Russell Libby
Russell Libby
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Wayne Barron

ASKER

Runs Great!!!
As I expected coming from you Mr. Russell.

Once I get the opertunity, I am going to go through your Class files
And see what makes your code work the way that it does.
And hopefully, send you something over that will "maybe" surprise you.

Take Care and Thank you once again for your great Delphi Programming.

Wayne