What you are calling a variable still has to be accessed through a object.
In VB when you use a Module which is just a shared class it uses Type Promotion to promote the members to namespace scope, but create a class with the same name and you have to type module name.
The only declarations allowed at namespace level are module, interface, class, delegate, enumeration, and structure declarations.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!