Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / web / ASP.NET

Get Physical Path of Application in ASP.Net [For Beginners]

5.00/5 (1 vote)
13 Apr 2011CPOL 21.3K  
For Beginners
This will give the physical drive path of the application directory for the application hosted in the current application domain:
VB
Dim strAppPath As String = HttpRuntime.AppDomainAppPath

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)