Thread View: borland.public.csharpbuilder.aspdotnet.general
3 messages
3 total messages
Started by R. Hoek
Tue, 07 Dec 2004 09:57
How to determine the local-path in which a webapp is placed (Application-path)
Author: R. Hoek
Date: Tue, 07 Dec 2004 09:57
Date: Tue, 07 Dec 2004 09:57
15 lines
1311 bytes
1311 bytes
Hello, I would like to determine what the local path is, of .NET webapplication. In Delphi (win32 webapp) I used something like ExtractFilePath(GetModuleName(HInstance)). Is there something equivilent for this? -- Regards, Ronald Hoek Applicationdevelopper ComponentAgro B.V.
Re: How to determine the local-path in which a webapp is placed (Application-path)
Author: Marc Rohloff TeamB
Date: Sun, 12 Dec 2004 00:43
Date: Sun, 12 Dec 2004 00:43
17 lines
1367 bytes
1367 bytes
On Tue, 7 Dec 2004 10:57:10 +0100, R. Hoek wrote: > I would like to determine what the local path is, of .NET webapplication. > In Delphi (win32 webapp) I used something like > ExtractFilePath(GetModuleName(HInstance)). > > Is there something equivilent for this? Try one of Request.ApplicationPhysicalPath Request.PhysicalPath or Server.MapPath(@"\"); -- Marc Rohloff [TeamB] marc rohloff at myrealbox dot com
Re: How to determine the local-path in which a webapp is placed (Application-path)
Author: R. Hoek
Date: Mon, 27 Dec 2004 15:27
Date: Mon, 27 Dec 2004 15:27
9 lines
1147 bytes
1147 bytes
Thank you... -- Regards, Ronald Hoek Applicationdevelopper ComponentAgro B.V.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads