.NET

Reply
Valued Contributor
70 Posts
1 Kudo
Registered: ‎02-17-2005
Post 11 of 14

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
70 Posts
1 Kudo
Registered: ‎02-17-2005
Post 12 of 14

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
340 Posts
53 Kudos
Registered: ‎05-12-2009
Post 13 of 14

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
70 Posts
1 Kudo
Registered: ‎02-17-2005
Post 14 of 14

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.

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post