Re: Resolve site url

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: George Ter-Saakov (nospam_at_hotmail.com)
Date: 03/09/04


Date: Tue, 9 Mar 2004 17:43:53 -0500

Not sure what you mean by "sometimes the ~ does not work"

Anyway you can use
Request.ApplicationPath to get the path.

George.

"CJF" <chrisf@unr.edu> wrote in message
news:Oq0YRlhBEHA.684@tk2msftngp13.phx.gbl...
> Sometimes the tilde ~ won't work to resolve the url of the asp.net site,
> such as when I need to set the path to an image property in vb.net. When
> this is the case how can I get the URL to the project's site?
>
> Thanks, Chris
>
>



Relevant Pages

  • Resolve site url
    ... Sometimes the tilde ~ won't work to resolve the url of the asp.net site, ... such as when I need to set the path to an image property in vb.net. ... Thanks, Chris ...
    (microsoft.public.dotnet.framework.aspnet)
  • Resolve site url
    ... Sometimes the tilde ~ won't work to resolve the url of the asp.net site, ... such as when I need to set the path to an image property in vb.net. ... Thanks, Chris ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Resolve site url
    ... George. ... > Sometimes the tilde ~ won't work to resolve the url of the asp.net site, ... > such as when I need to set the path to an image property in vb.net. ... > Thanks, Chris ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Resolve site url
    ... It means the tilde is set literally into the property. ... View the html source of the resulting page and the image's property reads ... > George. ... >> Thanks, Chris ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Resolve site url
    ... It means the tilde is set literally into the property. ... View the html source of the resulting page and the image's property reads ... > George. ... >> Thanks, Chris ...
    (microsoft.public.dotnet.framework.aspnet)