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.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register