I use VB6.
I am trying to get the output user's total to a picturebox when they click on a listbox.
My input file goes as following
Code:
Dim nnumber As Integer: Dim sName As String
Private Sub Command1_Click()
Open "input1.txt" For Input As 1
Do Until EOF(1)
Input #1, sName, nnumber
List1.AddItem sName
Loop
End Sub
Private Sub List1_Click()
Picture1.Print nnumber
End Sub
My input file goes as following
Code:
Bob 200 Mike 232 Dick 2322
Comment