I want to access a variable from my first form in second form. How can i do this? Sample code would be helpful, thank you.
How can I access a variable from another form in Visual Basic?
Easiest way would be to create a public variable in a module which you would be able to reference throughout your project.
Reply:if the variable you are trying to access is public, then use this:
FormName.variableName
Reply:check out http://www.planet-source-code.com
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment