Click to See Complete Forum and Search --> : combo boxes in vb.net


frankwhite
11-30-2004, 06:18 PM
i need help please....combo box in vb.net
i was wondering can any one help me please...

ive entered some items in the collections of the combo boxes...

i need a short code to do the follwing 2 things:

1- once a item is selected from the combo box a image should be shown in the picture box,

2- once the item is selected it should also be shown in the list box...

can some 1 post up the code, a.s.a.p

thanx

nitwit
12-01-2004, 09:23 AM
en what kind of object dit you put in your combobox??

strings, objects,...

greetz

frankwhite
12-01-2004, 09:59 AM
there words

so i guess there strings

nitwit
12-02-2004, 07:43 AM
select case cboTest.selectedItem.text
case "test"
showImageTest
end case

private sub showImageTest
pic.source = "test.jpg"
end sub

something like that? (didn't test it, to lazy:$)