I am trying to read an extremly large Unix file with the following code:
Open txtFile.Text For Input As #1
Length = LOF(1)
tmpData = Input(Length, #1)
I am getting an run-time error because the string variable tmpData is not large enough to store the data. I cannot use the normal line input functions that vb provides because at the end of each line is just a line feed and NOT a ctr/line feed like a dos file. Also, I cannot open the file for random access because each line has a different length. Do you have any ideas how to read this file?