Is there another way (faster way) to count the number of lines in a file instead of doing it this way:
VB Code:
Open filename for Input As #1 Do While Not Eof(1) Line Input #1, tmp c = c + 1 Loop close #1 Open filename for Input As #1 'do stuff close #1




Reply With Quote