i would like to know whats the fastest way to compare lines in txt files? ( assume both files have around 1 million lines ) (ya im comparing registry files)
This is how im planning to do it atm:
Code:My.Computer.FileSystem.ReadAllText(BOTH FILES) Put all text from file 1 & from file 1 into array: Dim array1() As String array1 = Split(file1, vbNewLine) etc. for array2 Loop through both arrays & compare lines:





Reply With Quote