Two Vb/Web questions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • active

    #1

    Two Vb/Web questions

    How to have a String variable available to all (or some group of) pages in a
    web site.

    How to reference a variable in a class from another class.


    Thanks for any help.


  • pvdg42

    #2
    Re: Two Vb/Web questions

    See below in context.
    " active" <activeNOSPAM @a-znet.comwrote in message
    news:uwQ%23G3Ge HHA.3884@TK2MSF TNGP04.phx.gbl. ..
    How to have a String variable available to all (or some group of) pages in
    a web site.
    Have you tried using a Session variable?
    >
    How to reference a variable in a class from another class.
    >
    Class variable? What is the access specifier? Shared or instance variable?
    Assuming the fielod is private, use a public Property to give controlled
    exposure to other classes.
    Actual access techniques will depend on the answers to the questions above.
    >
    Thanks for any help.
    >

    Comment

    • active

      #3
      Re: Two Vb/Web questions

      Thanks
      I'll try making a public Property.
      Need to find out how to reference the page containing the property.
      I'll try it now.

      Thanks

      "pvdg42" <pvdg42@newsgro ups.nospamwrote in message
      news:uY2m1VJeHH A.3956@TK2MSFTN GP03.phx.gbl...
      See below in context.
      " active" <activeNOSPAM @a-znet.comwrote in message
      news:uwQ%23G3Ge HHA.3884@TK2MSF TNGP04.phx.gbl. ..
      >How to have a String variable available to all (or some group of) pages
      >in a web site.
      Have you tried using a Session variable?
      >>
      >How to reference a variable in a class from another class.
      >>
      Class variable? What is the access specifier? Shared or instance variable?
      Assuming the fielod is private, use a public Property to give controlled
      exposure to other classes.
      Actual access techniques will depend on the answers to the questions
      above.
      >
      >>
      >Thanks for any help.
      >>
      >
      >

      Comment

      Working...