i have several forms in my project. On the first form, called form1, I want the user to choose a car using a combobox called cbAuto. I then need to pass the selected car to another form, called fNewAuto. I have tried the following:
Dim f1 As New Form1
Dim car As String
car = f1.cbAuto.SelectedItem
but, car is equal to nothing. How can I carry over what the user selected in the first forms combobox?
Dim f1 As New Form1
Dim car As String
car = f1.cbAuto.SelectedItem
but, car is equal to nothing. How can I carry over what the user selected in the first forms combobox?