Hi,
a newbie question:
How do i read text file?
The following code is correct?
PUBLIC SUB Button3_Click()
DIM hFile AS File
OPEN "error.txt" FOR READ AS #hFile
WHILE NOT Eof(hFile)
LINE INPUT #hFile, OneLine
TextArea1.Text=PRINT OneLine
WEND
CLOSE #hFile
END
Thats it.
Thank :-)