in my vb.nt windows application i have a dropdown in form1
i need to pass this value to form2
in form2 load event
i tried
dim drpval=form1.dropdown1.selectedvalue
If you want it on formload, I would probably use the constructor option.
passing values back to form1 from form2 is pretty much the same as first option, properties on the closing form remain accessible until its garbage collected.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.