PCH,
Use the application object.
Set the value in the OnApplicationStart subroutine of the global.asax page.
Dim MyValue As String = "Some Stuff Here"
Application.Add("MyValue", MyValue)
Then reference it like this:
Dim MyValue As String = CType(Application.Item("MyValue"), String)
Sincerely,
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"PCH" <pc***@hotmail.com> wrote in message
news:u3*************@TK2MSFTNGP09.phx.gbl...
is there any way to create a asp.net application object in a vb.net
console app?
ie.. store some values in the application (such as filepath info) so that
reference dll's can use those values?
been trying something like
Dim oApp As New Web.HttpApplication
but then i cant reference it such as
HttpContext.Current.Application("....")
Thanks