🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.aspdotnet.general
Article #21

How to determine the local-path in which a webapp is placed (Application-path)

#21
From: R. Hoek
Date: Tue, 07 Dec 2004 09:57
15 lines
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.
Technical Details
Message-ID: <41b57e74$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 124d48,31e9633c7686d4ab,start
X-Google-Attributes: gid124d48,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "R. Hoek" <*nospam*hoek@componentagro.nl*nospam*>
Newsgroups: borland.public.csharpbuilder.aspdotnet.general
Subject: How to determine the local-path in which a webapp is placed (Application-path)
Date: Tue, 7 Dec 2004 10:57:10 +0100
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 82.92.49.221
Message-ID: <41b57e74$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102413428 82.92.49.221 (7 Dec 2004 01:57:08 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail