I use Visual Basic 2008. I have a list box that is populated by inner and outer html from any given page i go to. i would like to click on the id in the list box that has the inner or outer html and perform that action. I have figured out how to call on the id in the list and perform this action by adding a button and just coding it to call on a pacific id in the listbox and perform the click. However, I would like just 1 buttom to call and perform this action. I've noticed you cant click or hit enter on the item in the list and have it perform the action. I guess what i'm getting at is that i dont want to set up 50+ buttons calling on each id listed in my listbox. I just want to be able to click on the item in the list box or have 1 button set so i can click an item in the list box which will highlight that item then hit the button that will then perform the action of the selected item in my list box. Does anyone have an example code that i could learn from or can tell me if i can even perform this. thanks.
December 8, 2008 6:31 PM
December 8, 2008 7:21 PM