How do I make a variable work for all of my forms

tahu191

Well-known member
Joined
Oct 27, 2005
Messages
48
Location
USA
Programming Experience
Beginner
I need to know how to make a variable be used for every form. I need i tto have the same value across all the forms, ad new ones open and close.
 
You haven't given a very clear description of what you want, but if it is a single global variable you're after the standard way to do that in VB.NET is to use a module. Any public (or friend) members of a module are visible throughout the project.
 
Back
Top