• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Valued Contributor
    Posts: 70
    Registered: ‎02-17-2005

    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

    Please use plain text.
    Valued Contributor
    Posts: 70
    Registered: ‎02-17-2005

    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.

    Please use plain text.
    Mentor
    Posts: 241
    Registered: ‎05-12-2009

    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
    Please use plain text.
    Valued Contributor
    Posts: 70
    Registered: ‎02-17-2005

    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.

     

    Please use plain text.