LoadPicture( "path")

J

Jim

Dear MVP

Is it possible to link path to list index or textbox.value
'Private Sub ListBox1_Change()
'Path to picture
'TextBox1.Value = ListBox1.List(ListBox1.ListIndex, 1)
'Picture name
'TextBox2.Value = ListBox1.List(ListBox1.ListIndex, 0)
'Question: Can text TB1 below get its value from
'Textbox1.value 'or Listbox1.ListIndex, 1

'Image1.Picture = LoadPicture("TB1")

'End Sub

Thanks in advance for your help
Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top