o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Compare files -

Hello there,

I want to compare files to find out if they are the same (except for the name of course).

In my program I can specify a directory. Then I want to check whether there are any redundant files. My app works well with directories that contain less than 300 files. Once above it becomes very slow. I once tried to check a directory with 12000 files and it was S-L-O-W.

Currently I open the files for Binary as ...
then I compare them.
12000 files means (in my case) +- 72 million comparisons...

My question is if there is a quicker way to do this. Can I use an API? Or is there a single command that compares two files??

Please help!

 

Compare files -
Hello there, I want to compare files to find out if they are the same (except for the name of course). In my program I can specify a directory. Then I want to check whether there are any redundant files. My app works well with directories that contain less than 300 files. Once ab


Compare two XML files -
Hi there! Does anyone know how to compare two xml files? what i wanna do is compare the two xml Files and then display the difference to the datagrid...thanks in advance.


Compare MDB -
I want to compare two Access 2000 database files. And find out what records have been changed. Is there a program to compare two files?


Compare Two Word Files -
Hi All, I want to develop a VB6 application to compare two word files. I want to include option to - compare the content only. - compare the content and Formating also. I want you all to suggest me the best way to do it. Thanks in Advance.


Compare 2 files -
Hello, Perhaps a simple question but: How to compare 2 files?? I want to check if two files are completely the same (except the name of course). Those files can be pictures, word documents, WHATEVER ! I want something like a 'diff' under unix... Is this possible with VB?


Use VBScript to compare files -
I want to write a routine that will take two files (be they text or binary) and compare them to see if they are identical. I'd rather do that, than open the files and compare them line by line. Is there a way to calculate a hash value for a file using VBscript? Are there any examp


Compare two .bas files[Found a way] -
Does anyone know of a way to compare differences between two different .bas files? I have two different versions of a very long and convoluted bas module and would like to mark areas, or at the very least have them pointed out by some sort of "compare" program. I su


Comparing two document files -
How do i compare two doc files to check whether their are identical or not. If not i want the location where the difference is. IS there any API which can compare two files? Thanks Kais


[B]How to Compare 2 DLL files versions[/B] -
Hi All, I am doing AutoUpdate program where I need to compare 2 DLL files version. Please let me know how to compare two DLL file version. Thanks, Mohan


easiest way to compare 2 lists -
what is the syntax for using the compare in vb... ie compare filelist1 to filelist2 and see what files one directory has that the other doesnt


Compare two strings or two files -
In my form I have two rich text boxes.In both of them I put two different text files(.txt or .rtf).I looking for some code to compare them, and to have the result as marked differences into the second rich text box.How I have to compare them-as strings or as files? And how I can use mi


[2005] Compare Files -
Dear All, I can use Icompare collection to compare two files are modifeddate,file size and date created? Thanks In advance Dana


Compare word Documents -
Hello, Is it possible to compare two word files without using MS Word's inbuilt Compare & merge option? May be in VB way??? Could you please help me out on this. Thanks, Kanna.


compare contents of 2 files -
Hi, In order to help me with versioning control from a text file that I receive off the web, I was wondering if there was a way to compare the contents of say a text file named categories.txt and categoriesnew.txt. I thought about just comparing the size of the 2 files and if the


C++ source code to compare XML files like ExamXML XML differencing tool -
I’m working on a Linux project that includes identifying changes between XML files and I need a source code on C++ to compare XML fragments. I’m using differencing tool ExamXML from http://www.a7soft.com to compare and merge XML files but this is Windows application.


Compare form files -
I have an app used by several clients. Each client has a slightly different version, due to operational preferences. Is there a utility that can compare two form files and list only the differences. It would be very helpful during upgrades. Thanks for any replys


Comparing two files -
Thanks. I wasn't clear on my comparison. I want to compare the data of the two files that has the same comma dilimeters and get a report on all unmatched records. Field 1 and 2 are the same in each file. The other fields contained the data to compare. Should be the same, but may no


compare 2 datasets -
I have 2 datasets derived from 2 XML files and I want to compare these 2 datasets. I'm doing a readxml and loading the dataset. How can I now compare the datasets row by row. I just want a boolean value to see if its true or false. I dont want to do anything with the data. thanks


compare text files -
Has anyone written something that can compare two text files and output the differences, or know of freewhere I can download to do this?


Comparison between two folders -
I have two folders that I want to compare the contents to each other. These folders have sub folders in them. I want to compare all of the files from one folder to the files in the other folder based on the timestamp of the files and then display the files that are not a match. Can


File compare software -
Dear All, Can some body suggest me good file compare software to compare the two text files.?


compare contents of text files -
Hi, I have 2 text files which contains a list of 500 computer names. How can i run a script to compare the contents and list out the differences between the 2 files? sample content of the text file: computer1 computer2 computer3 computer4 .... and so on.... pls advice. th


vb6 compare wavs -
is there a control that can compare pieces of wav files and find how close they are to each other?


code organizer -
I saw something that had to panes and you could load to file into either side like text files...so you could compare them easy. Anyone know where i can find this? I need to compare these to files and i need to load each file into a seperate pane....i thought i saw this program on the f


Fastest way to compare huge lists -
I have 2 lists of file paths that I need to compare and get the difference. The lists are in text files. The first one is about 10474 lines long and the other file ranges from 10474 to 37000 lines long (the longest one I've seen so far). Right now, the program reads in the first file


Compare two files -
I need help with writing VB code that will compare two files and determine if they are the same size, date, etc. If the same, run (something), if they are different, sleep for 5 minutes and run again. I am trying to monitor some trace files to see if an application is still running


Compare files! -
HELLO!! I have to compare two files, (.bmp) and i don't know how. Any idea? Thanks!!


Search Files Within a Folder -
Ok i have make a search on this topic but cant find a suitable answer. What I want is that how can i do a search and compare within a folder Example files that i have in a folder listed below. 28-Jan-08.dat 29-Jan-08.dat Before creating a new .dat file it will compare the file


[2005] Load & Comparing Graphic Files -
Two questions: 1) How do you load a graphic file into a variable in VB? I assumed you would use an Image variable, by how do you load it? I want to load jpg files. 2) How do you compare two graphic files? If I can load the files into Image variables I can use either .equals or .g


Compare two files in different projects -
Hi all I am trying to compare two files that are created in two different projects. any ideas, how to go about it?? thanks...


Comparing two XML files -
What is the best way to compare the difference between two XML files using code? The basic of these XML files are tree structure of folders and files.


Timestamp -
I'm using a timestamp to name files. The file name is also appended with other info. Example: ABC_yyyy_mm_dd_hh where ABC is extra info that does not pertain to the date. What is the best way to compare files based on these timestamps. I cannot compare these files based


how to compare row data in two wkshts and copy and paste into another wksht -
im trying to compare data in a column of two different files and if it matches, copy and merge both the rows into a new worksheet named "result". can someone help? i cant figure out how to compare it and then copy and paste. thanks in advance.


Compare XML files -
I've got to write an app that compares several hundred XML files, ie I have two folders each with about 100 XML files in. I need to compare the same name XML file from each folder and then display any difference in a GUI. I know that Microsoft have an XML parser that I can use?.


How to do File/Version comparison -
Hi, I was wondering how I can compare two files to see if they are the same. I'm looking specifically to compare the application file that is local with one that is on the server to see if they are different. Thanks.


help with DateTime.Compare -
hi! can anybody please help me. Why is it when i try to compare two the same dates I was not getting the right return value of Datetime.Compare which 0. I dont know if the problem is in my code or is in the Datetime.Compare method. by the way, i attched a screenshot to give you more id


File Compare...Not Related With VB -
Does anybody have utility to compare two files, byte by byte to see whether they are the same? Thanks


[2005] - Compare Text In 2 Files -
Hi All, I been asked to write a program that will compare the contents of 2 files. Example of the 2 files. Text File 1: Bloggs, Joe, Sydney Text File 2: Bloggs, Joe, Sydney Smith, Stan, Perth The program should find "Bloggs, Joe, Sydney" as a match. I was thinking th


File Compare -
Does anyone have any VB code to compare two files which shows the differences in the records within the file ?


Compare two image files -
Hi, is it possible to compare an image file on your Form and one on a Homepage?? CU AbsoluteB