A
alvin Kuiper
Hi
What is wrong here:
Private Sub cmd_her_Click()
txtinfo.SetFocus
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.OpenTextFile("h:\\mine databaser\tekst.txt")
Do
'txtinfo.Value = (a.readline) & vbNewLine
Liste5.AddItem a.readline
Loop While Not a.readline = ""
a.Close
End Sub
I only get the first line
and then eror : input past end of file
What is wrong here:
Private Sub cmd_her_Click()
txtinfo.SetFocus
Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.OpenTextFile("h:\\mine databaser\tekst.txt")
Do
'txtinfo.Value = (a.readline) & vbNewLine
Liste5.AddItem a.readline
Loop While Not a.readline = ""
a.Close
End Sub
I only get the first line
and then eror : input past end of file