ThePentiumGuy
Well-known member
hey
i have this code to read text from a textfile with StreamReader
what i want to do is:
- be able to sort out each CHARACTER - not line, the
streamreader reads
- find out what line number i am currently reading
heres what i got
thanks
i have this code to read text from a textfile with StreamReader
what i want to do is:
- be able to sort out each CHARACTER - not line, the
streamreader reads
- find out what line number i am currently reading
heres what i got
Code:
Imports System
Imports System.IO
the code below is in form1.load
Dim srdr As StreamReader = New StreamReader("map/test/test.txt")
Dim ln String
Do
line = srdr.ReadLine()
MessageBox.Show(ln)
Loop Until ln Is Nothing
srdr.Close()
thanks