I have in my VB application code to read text file like this:
Dim n as integer
Dim Text as string
n = FreeFile()
Open File.txt For Input As n
Text = Input(LOF
, n
Close n
In some cases I get error:
Input past end of file 62
After that error my application cannot work.
Could somebody help me with this?
Dim n as integer
Dim Text as string
n = FreeFile()
Open File.txt For Input As n
Text = Input(LOF
Close n
In some cases I get error:
Input past end of file 62
After that error my application cannot work.
Could somebody help me with this?