C
Chris
I am writing an .net assembly that can be called from a windows
application or from a web application and need to know the location of
the application that it is running under to be able to load an
initialisation file that may be above the application folder.
It should be the folder the application was run from or in an ASP.net
application it should be the same as
Request.ServerVariables.RootFilePath but I need to get at it in
Global.asax when Request is unavailable.
Where can I get this info?
application or from a web application and need to know the location of
the application that it is running under to be able to load an
initialisation file that may be above the application folder.
It should be the folder the application was run from or in an ASP.net
application it should be the same as
Request.ServerVariables.RootFilePath but I need to get at it in
Global.asax when Request is unavailable.
Where can I get this info?