.NET

Reply
Valued Contributor
stuartnathan
Posts: 70
Registered: ‎02-17-2005
Message 11 of 14 (165 Views)

Re: Printer Paper Sizes

12-28-2011 11:14 AM in reply to: jeff

we may be thinking of different things but I use Public

Valued Contributor
stuartnathan
Posts: 70
Registered: ‎02-17-2005
Message 12 of 14 (161 Views)

Re: Printer Paper Sizes

12-28-2011 12:26 PM in reply to: jeff

We may be a cross-purposes.

 

You can define variables as Public, in which case they can be accessed across different classes and modules.

Valued Mentor
jeff
Posts: 330
Registered: ‎05-12-2009
Message 13 of 14 (151 Views)

Re: Printer Paper Sizes

12-28-2011 03:20 PM in reply to: stuartnathan

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.

 

 

 

 

You can also find your answers @ TheSwamp
Valued Contributor
stuartnathan
Posts: 70
Registered: ‎02-17-2005
Message 14 of 14 (136 Views)

Re: Printer Paper Sizes

12-29-2011 01:31 AM in reply to: jeff

We are sort of getting away from the point. Thanks anyway.

 

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.