visual basic - arrays (AAARG!)
Code:
Private Sub Command1_Click()
Dim title() As String
Dim year() As String
Dim cert() As String
Dim genre() As String
Dim tagline() As String
Dim norated() As Integer
Dim rating() As Integer
Open "testfile.txt" For Input As #1
Do While Not EOF(1)
Input #1, title, year, cert, genre, tagline, norated, rating
Combo1.AddItem title
Loop
Close #1
End Sub
ok i currently have that in my little program. how can i assign the data im pulling from the text file into an array?
on the line combo1.additem title im getting a type mismatch, and if i remove that i get an overflow error on the input line
im rather confusedered