Click here to Skip to main content
15,883,705 members
Articles / Web Development / ASP.NET
Tip/Trick

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

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
13 Apr 2011CPOL 21.1K   4  
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)


Written By
Software Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --