in VB6, how i can read data from a text file ?
Printable View
in VB6, how i can read data from a text file ?
VB Code:
Open App.Path & "\File.txt" For Binary As #1 txtData.Text = Input(LOF(1), 1) Close #1
... for example.
Here is a good File I/O Tutorial.
here is mine.
http://www.vbforums.com/showthread.php?t=329386