I have the following code to read a file and process it:
Dim intFileNum As Integer intFileNum = FreeFile Dim strLineIn As String Open CurrentProject.Path & "todo" & strTheFile For Input As #intFileNum Do While Not EOF(intFileNum) Line Input #intFileNum, strLineIn
the problem is that it reads the entire file at once instead of one line at a time, like I’m expecting.
If I open the file in TextPad, it shows the lines as individual lines, not one long line of data…
Any ideas on how to get around that?
Thanks!