is there a way to make an item in a combo box open up a new form. Like when the user clicks an item in the combo box, the next form opens up.
Thanks
Printable View
is there a way to make an item in a combo box open up a new form. Like when the user clicks an item in the combo box, the next form opens up.
Thanks
yes u can
e.g. say when a user chooses an item "Open Next Form" in the combo box combo1
Private Sub combo1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles combo1.SelectedIndexChanged
If combo1.Text = "Open Next Form" Then
dim form2 as new form2
form2.show (or form2.visible = true etc..)
End If
End Sub
ohh ok thanks alot. :thumb: