Re: Resolve site url
From: George Ter-Saakov (nospam_at_hotmail.com)
Date: 03/09/04
- Next message: Barry Forrest: "RE: HTMLInput button - How to give it a Tool Tip"
- Previous message: john farrow: "Re: PDF Streaming with IIS 6.0"
- In reply to: CJF: "Resolve site url"
- Messages sorted by: [ date ] [ thread ]
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
>
>
- Next message: Barry Forrest: "RE: HTMLInput button - How to give it a Tool Tip"
- Previous message: john farrow: "Re: PDF Streaming with IIS 6.0"
- In reply to: CJF: "Resolve site url"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|