Private Sub lstTitle_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstTitle.SelectedIndexChanged
Dim Title As String = lstTitle.Text
Dim Locate As String = Application.StartupPath
picImage.Image = Locate & Title & ".jpg"
End Sub
okay, so what i am trying to do is every time the user changes their selection in the ListBox the PictureBox will change accordingly. Its not quite working, i have tried multiple things even a Select Case method but its not what i was after. Can someone please help me. Thank you In Advance.

New Topic/Question
Reply




MultiQuote





|