Declare global variables in Visual Studio 2010 and VB.NET

How do I declare a global variable in Visual Basic?

These variables need to be accessible from all the Visual Basic forms. I know how to declare a public variable for a specific form, but how do I do this for all the forms in my project?

Leave a Comment