Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error opening file
Message
From
17/07/2000 04:26:55
Victor Lapid
Phil. Long Distance Tel. Co.
Manila, Philippines
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Error opening file
Miscellaneous
Thread ID:
00393129
Message ID:
00393129
Views:
51
Hi,

How do I get rid of "Input past end of the line" error?
what went wrong during opening a file?

Code goes like this:

If FileLog.ListIndex < 0 Then
MsgBox "No File Selected....", vbOKOnly, "View Log"
Exit Sub
End If
TxtView = ""
hfile = FreeFile
sfilename = TxtPath.Text
Open sfilename For Input As #hfile
TxtView = Input$(LOF(hfile), hfile)
Close #hfile


TIA.
Reply
Map
View

Click here to load this message in the networking platform