Link to home
Start Free TrialLog in
Avatar of q1w2
q1w2

asked on

About variables

I have created two forms in a project named form1 and form2.
In the declaration part of form1, I write Public m_name As String. Then the n_name will be assigned a value in the procedure in form1.  Then when I refer this variable in form2, I find that I can't retrieve the value of that variable. It seem that VB treat this variable as a new variable. How can I do?
ASKER CERTIFIED SOLUTION
Avatar of schild
schild

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial