By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
It's all a matter of handling the SelectedIndexChanged notification from the combo box. The following code shows how to do what you want:
Private Sub Form1_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load ComboBox1.SelectedIndex = 0 End Sub Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As Object, _ ByVal e As System.EventArgs) _ Handles ComboBox1.SelectedIndexChanged ListBox1.SelectedIndex = ComboBox1.SelectedIndex End Sub
Dig Deeper on Win Development Resources
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.