Getting the Virtual Directory

  • Thread starter Thread starter Ralph Krausse
  • Start date Start date
Dim s As String = HttpContext.Current.Server.MapPath("~")

Not sure is that is the "best" way.

Greg
 
HttpContext.Current.Request.ApplicationPath

Hope this helps,
Mark Fitzpatrick
Microsoft MVP- FrontPage
 
Back
Top