A
AAaron123
I've been playing around with physical paths.
I need to know how to find the website root physical path.
I tried various things and find I can get the path to my Projects folder, to
the folder the current page is in various other things but I'm never sure
any one thing will work in all cases.
Suppose this is the site
webSiteFolder
Default.aspx
subFolder1
page1.aspx
subFolder2
page2.aspx
Suppose the site is first entered by specifying /subFolder/page1.aspx rather
than /Default.aspx as it usually done (maybe this is not relevant).
Then, in a .vb file, no matter which page I'm in
How do I find the directory path to Default.aspx?
That is, to the web root folder.
If I'm in page2 how would you specify page1.aspx?
What is the difference between the Application folder and the web root
folder?
I think I know what the web root is but what is the Application root?
Thanks in advance if you wade through the above and answer some of it!
PS
I find the web root now by searching upward until I find Default.aspx.
Kludgy?
I need to know how to find the website root physical path.
I tried various things and find I can get the path to my Projects folder, to
the folder the current page is in various other things but I'm never sure
any one thing will work in all cases.
Suppose this is the site
webSiteFolder
Default.aspx
subFolder1
page1.aspx
subFolder2
page2.aspx
Suppose the site is first entered by specifying /subFolder/page1.aspx rather
than /Default.aspx as it usually done (maybe this is not relevant).
Then, in a .vb file, no matter which page I'm in
How do I find the directory path to Default.aspx?
That is, to the web root folder.
If I'm in page2 how would you specify page1.aspx?
What is the difference between the Application folder and the web root
folder?
I think I know what the web root is but what is the Application root?
Thanks in advance if you wade through the above and answer some of it!
PS
I find the web root now by searching upward until I find Default.aspx.
Kludgy?