vb.net
•
8 Dec 2006, 14:42
•
Journals
got a combo box with 3 varibles defined, underneath i have a picture box, i want when i click one of the varibles in the combo box, the picture to change (pictures stored locally in directory C:\Documents and Settings\Administrator\My Documents\My Pictures
Will be using select case for the main part. Cant for the love of me get it to work with my tired brain plz help :<
Will be using select case for the main part. Cant for the love of me get it to work with my tired brain plz help :<
yourpictureboxsource = Image.FromFile(myfiles(ComboBox1.SelectedIndex))
End Sub
Or work with case/if/...
Make sure you use exactly the same names that you have used for Resource names
This was yours!
All credits goes to Foonr!!!