I'm trying to load a jpg file when a Listbox selection is changed.
my code looks like this:
Private Sub lstResults_Click() Dim s As String s = "Path" & frmSearch.txtInput.Text & ".jpg" Me.Image1.Picture = sEnd Sub
Moiz said:Private Sub lstResults_Click() Dim s As String s = "Path" & frmSearch.txtInput.Text & ".jpg" Me.Image1.
Me.Image1.Picture = LoadPicture(s)
Always like to see someone answer their own question. Weill done. :-)