Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error opening file
Message
De
17/07/2000 04:26:55
Victor Lapid
Phil. Long Distance Tel. Co.
Manila, Philippines
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Error opening file
Divers
Thread ID:
00393129
Message ID:
00393129
Vues:
50
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform