set up a new module called modParameters. In here use
VB.NET:
Module modParameters
Friend [B]parametername[/B] As [B]whatever[/B]
End Module
i.e.
Friend strUsername As String
Friend intUserAge As Integer
Friend dtDateOfBirth As Date
on form1 you just set the parameter, strUsername = me.textbox1.text
on form2, you access it simply by me.textbox2.text = strUsername
this is how I do it. Each to their own, there is always pros and cons to using whatever way, and using global parameters definately does have pros and cons - there's a thread on here somewhere if you search for "global parameters".
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.