N
Newbie
I want to determine proramatically from my webform what the virtual
directory path is for my application.
The reason for this is that I want to use some javascript code which needs
to access a file in a subdirectory. This is fine but my component will one
forms which some are in a subdirectory and some will be in the root
directory. This is important when assembling the string needed for the
Window.Open used by javascript link in the page.
So to sum up. I need to know the url for the root of my application.
http://MyHostName/VirtualDirectoryName
directory path is for my application.
The reason for this is that I want to use some javascript code which needs
to access a file in a subdirectory. This is fine but my component will one
forms which some are in a subdirectory and some will be in the root
directory. This is important when assembling the string needed for the
Window.Open used by javascript link in the page.
So to sum up. I need to know the url for the root of my application.
http://MyHostName/VirtualDirectoryName