I upgraded my application from vb6 to vb.net there're some errors that i need to solve. Please help. it should be easy for you guys as i'm new to vb.net
not sure if you got what i mean i tried google it it doesn't give me the right results.
thanks.
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
test(ComboBox1)
End Sub
Private Sub test(ByRef test1 As System.Windows.Forms.Control)
//how do i convert test1 to combobox?
// as the program doesn't know its a combobox as it doesn't have functions of combobox
End Sub
not sure if you got what i mean i tried google it it doesn't give me the right results.
thanks.