Windows or Web app?
In a Windows app, simply create a property in one of the forms and you can
then set it using:
FormWithProperty.PropertyName = value
or retrieve using
Dim output As String = FormWithProperty.PropertyName
With a web app, you are dealing with stateless commmunication, which means:
1. Storing in session (generally not the best)
2. Using the Request collection (when submitted to another page)
3. Purposefully setting the value in the querystring of a link to that page
Etc., ad nauseum. It gets even easier in the next version (Whidbey).
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
**********************************************************************
Think Outside the Box!
**********************************************************************