Here is the text file contents
Harry Potter
1999
2hr 30m
PG-13
Hunger Games
2012
3hr
PG
I have to search for the movie name after pressing a button and making an input box appear, read the lines from the text file, and input all the contents of the structure into 4 separate text boxes in the form. the structure contains
Structure VidData
Dim VidName As String
Dim VidYear As Integer
Dim VidRunTime As String
Dim VidRating As String
End Structure
Not sure how to get it to search for the lines. i know i have to make the structure an array but im not sure exactly what to do here. This is using Visual basic. Any help would be appreciated.