Validating listbox dadd dads against daughters dating shoot the first one
You can use the Draw Mode property, and handle the Measure Item and Draw Item events so you can override the automatic drawing that Windows provides and draw the items yourself.
Set Selected(5, True) ' Display the second selected item in the List Box to the console. In addition to display and selection functionality, the List Box also provides features that enable you to efficiently add items to the List Box and to find text within the items of the list.
The Items, Selected Items, and Selected Indices properties provide access to the three collections that are used by the List Box.
To String()) Next x ' Allow the List Box to repaint and display the new items. End Update() ' Select three items from the List Box. The Find String and Find String Exact methods enable you to search for an item in the list that contains a specific search string.
Then, click the arrow, and select an item to fill the cell.
Instead of allowing only one choice from the drop down, you can use a bit of programming, and allow multiple selections.
There is also a sample file for single item selection.