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

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 there was a difference, I would assume that there has been some updates.. But then I realized that the file size may be identical if the same amount of text was put in as was taken out..

Anyway to compare the contents of these 2 files to return False if the same or True if different? I'm using VB6 Pro..

Any help would be appreciated..

Dan

 

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


Compare folder contents -
Guys, I have 2 folders. How can I compare the contents, including sub-folders, and show the number of common files and total file count? I have a software build that should span 3 disks but I have a feeling that they have burnt disk 1 3 times and labelled incorrectly!!! Its hard to


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


Compare file contents . . . -
Has anyone ever done anything with comparing the contents of two files? A bit-level verification would be the best. Thanks, Leecher


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


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 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?.


[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


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


Compare Lists -
I have a listbox and a filelistbox I want to compare the contents of the filelistbox to the listbox and see which files in the listbox aren't in the filelistbox and then add those to a new listbox. What's the best way?


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


Compare Records -
I have to tables with similar fields in different database , I need to compare the contents of them , How could I do it using ADODB.Record facility. With Regards


[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


Deleting the contents of temp. internet files -
Thru. Vb Dose any one know how to delete the contents of cookies, the contents on Temporary Internet files and the contents of history folder just with one click Regds Sam F.


Best Way Compare string to list of strings(RESOLVED) -
Trying to figure out the best way to approach this. Basically I need to compare files(different each time) against a list of other strings to see if the file contains any of the strings(will be adding new ones to the list as I go on). I'll try to explain a bit more. For an exampl


[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


Comparing Texts -
Dear All, I have two text boxes.I want to compare these contents in a speeder way.The compare method should check for the spaces also.Which is the best and speedy method.


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.


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?


[2005] over my head -
I know this is pathetic, but here is my problem - I am just in my third week of a class in visual basic 2005 (I'm still using the express edition) and my boss has gotten a little gung-ho and assigned me to write a script that will open two excel files, compare an identifier field, and


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


Load listbox with file contents -
Hi All, I am having problems writing a code using which I can do the following: 1. The ComboBox gets populated with .txt files from C:\Folder1\. Suppose this folder has files 1.txt and 2.txt. 2. We have another folder C:\Folder2\ which has the same files as C:\Folder1\ however the


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


comparing VB projects -
Hello Is there a way i can compare two VB projects, i mean compare the contents of the project, in terms of code something which would highlight the differences in the code. i have seen such a tool in c projects, would like to know if there is such a thing with VB


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


Loading .rtf files into a List/Combobox -
Hello, I would like to be able to load the contents of a directory that contains rtf files into a list box.. Then, while the user selects a item in the list box, or combo box (can be either one) the corresponding contents will be displayed in a non-editable text box. I’m totally c


Compare ListBox and FileListBox contents -
Hello. I want to compare the contents of a ListBox and FileListBox so that any item that's present in the ListBox but NOT present in the FileListBox will be highlighted in the ListBox. So for example if List1 has A, B, C, and D, and File1 has A, C, and D, B will be highlighted in Li


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