|
-
Jul 30th, 2000, 02:19 PM
#1
Thread Starter
Lively Member
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|