My app uses ShellExecute to call another exe which
generates a text file. I then open up this file using
the following syntax:
"Open ImportFile For Input As #iFileNum
Do While Not EOF(iFileNum)
DoEvents ' allow user escape
Line Input #iFileNum, sLineRead
...."
Sometimes it reaches the EOF well before it should, and
I know this also because the Filelen(ImportFile) function returns a smaller size than it shows after the app has run. It seems to me that because I am opening up the text file immediately after Shellexecute ,it has somehow not been fully created and saved.
Help...