🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12863

Re: ParamStr() extraction

#12863
From: Conny H�kansson
Date: Mon, 17 Nov 2003 10:26
27 lines
2022 bytes
Thanks Gambit!

Yes, the ExtractFileName() was the function i was looking for.
A question on the Application->ExeName vs ParamStr(0): could you give a
real-life example when i would use the Application->ExeName rather than the
ParamStr() or vice-versa? Does it have to do with were the application i
launched or what?

/C


"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:3fb81b63$1@newsgroups.borland.com...
>
> "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in
message
> news:3fb81ad3$1@newsgroups.borland.com...
>
> > Either way, to obtain just a filename without any path,
> > use the ExtractFilePath() function.
>
> Correction - ExtractFileName()
>
>
> Gambit
>
>
Technical Details
Message-ID: <3fb8a238@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!207.69.154.101.MISMATCH!elnk-atl-nf1!newsfeed.earthlink.net!bigfeed2.bellsouth.net!bigfeed.bellsouth.net!news.bellsouth.net!peer01.cox.net!cox.net!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3fb7fde1@newsgroups.borland.com> <3fb80881$1@newsgroups.borland.com> <3fb80d2c@newsgroups.borland.com> <3fb81ad3$1@newsgroups.borland.com> <3fb81b63$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,470da9c3a4dba621
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-17 02:37:59 PST
From: "Conny H�kansson" <conny@allimac.se>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fb7fde1@newsgroups.borland.com> <3fb80881$1@newsgroups.borland.com> <3fb80d2c@newsgroups.borland.com> <3fb81ad3$1@newsgroups.borland.com> <3fb81b63$1@newsgroups.borland.com>
Subject: Re: ParamStr() extraction
Date: Mon, 17 Nov 2003 11:26:06 +0100
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.215.164.250
Message-ID: <3fb8a238@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1069064760 217.215.164.250 (17 Nov 2003 02:26:00 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!207.69.154.101.MISMATCH!elnk-atl-nf1!newsfeed.earthlink.net!bigfeed2.bellsouth.net!bigfeed.bellsouth.net!news.bellsouth.net!peer01.cox.net!cox.net!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail