hi guys
have a look at this code
the score text file contains the followingCode:Open "C:\Score.txt" For Input As #1 Text1.Text = Input$(LOF(1), #1) lblX.Caption = Text1.Text lblO.Caption = Text1.Text
when i run the program, and load the file, the lblX and the lblOCode:2 3
both display everything in the text file
but i would like the lblX to display the first line in the text file ie: 2
and the lblO to display the second line in the text file ie: 3
so how can i do this?




Reply With Quote