eseabrook2008
Technical User
I'm very new to vb.net (last used vb6). My situation is that I have a form1 with a combobox (cb1). When a certain item is selected in the combobox, form2 opens.
From form2, how do I reference form1 objects? In form2, if I select certain info, cb1 on form1 should change to a different value. As is stands now, on form2 I have added...
...which allows me to reference form1 objects but, I think, since I used "NEW" it passes objects with 'Nothing' values and when I try and set values on form1, it does keep the change once focus is passed back to form1. Ideas?
Code:
'initial declaration
Dim FORMNAME
'inside combobox SelectIndexChanged event
FORMNAME = New contractequip
FORMNAME.ShowDialog(Me)
Code:
Public y As New form1