Problem:
If isang item ay i-seselect ko dun sa Combo Box sya ay mag po-proceed sa Another form like form3 or form 4. Or kailangan pa po mag lagay ng Isang Button Para makapag Proceed sya?
Gusto ko po kase sana gamitin yung combo box para mapunta sa Ibang Form Pwede po ba sya? If Hindi ano po pwedeng Tool para dun?
Basta po dapat may selection sya para mapunta saIbang Form.
Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged
Dim selection As String = ComboBox1.SelectedItem
If Not selection = String.Empty Then
If selection = "form2" Then
Form2.ShowDialog()
ElseIf selection = "form3" Then
Form3.ShowDialog()
ElseIf selection = "form4" Then
Form4.ShowDialog()
End If
End If
End Sub
vbproject download link: You do not have permission to view the full content of this post.Log in or register now.