Is it possible to pass the value of a user entered variable from one form in an MDI application to anther? How do I go about doing this?
Printable View
Is it possible to pass the value of a user entered variable from one form in an MDI application to anther? How do I go about doing this?
In VB this is better handled with global variables:
' in module
public UserName as string
' In form1
Sub Open_Click
UserName = "xxx"
Load form2
form2.Show
End Sub
Now you can handle the variable (s) easier.