| | | Forum Newbie
       
Group: Forum Members Last Login: 7/27/2010 6:34:21 PM Posts: 2, Visits: 7 |
| Hello,
Im making a program that reads a txt file
what im trying to make is a button that displays the next line every time you click it
[code] Dim oRead As System.IO.StreamReader
oRead = IO.File.OpenText("C:\Users\AMILOXI3650\Desktop\Keys.txt")
While oRead.Peek <> -1
linein = oRead.ReadLine()
End While[/code]
for exmp. file contains
11111111111
22222222222
33333333333
44444444444
User clicks first time on button
textbox displays > 1111111111111
second time user clicks it will display
2222222222222
Etc etc.
Sounds really simple
but hard to make for me
any 1 has an idea how to make this? |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 7/27/2010 6:34:21 PM Posts: 2, Visits: 7 |
| | |
|
|