Hi i am not sure if this is the right place to post this. I am trying to make it so when i choose a item in the combo box the list box is cleared i have tried these two codes and i cannot thing of any others but it does not work can someone help me?
and
VB.NET:
Private Sub ComboBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.TextChanged
ListBox2.ResetText
End Sub
VB.NET:
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
ListBox2.ResetText
End Sub