Visual Basic comparing two .txt documents

Jay R. Ashworth jra at baylink.com
Fri Dec 7 09:04:22 PST 2007


On Fri, Dec 07, 2007 at 12:39:10AM -0500, Mike Fedkiw wrote:
> I have an ordering program for my customers to use. They download it from my 
> web site. What I am trying to do is have the ordering program match a list 
> of images on a web site to their inventory file on their computer and 
> download any images they are missing. Everything is set to go but the 
> comparing of the two files just takes too long.
> 
> I don't want to give them any more programs they have to install for this to 
> work. Whatever I use has to be part of the initial program install and 
> hopefully not need a DOS window to run in.

Well, I don't think you can get all of those things.

If you have two files of filenames, you need sort and uniq.  They'll,
together, do the job in about 1 line of code.  The price is you have to
have them there.

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274

	     Witty slogan redacted until AMPTP stop screwing WGA


More information about the Filepro-list mailing list