🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Shell Menu API functions

#11287
From: Remy Lebeau (TeamB)
Date: Tue, 17 Feb 2004 08:08
23 lines
2021 bytes
"Martin C" <martinc@aol.com> wrote in message
news:4031bf52@newsgroups.borland.com...

> 1- I have a project that one of its functions is file shredding, so
> I need the user to be able to right click on any file/folder in his
> explorer/desktop and click on my menu item ("Shred File/Folder
> using my project").

Please see my earlier reply for doing exactly that.

> 3- My next task is to send the complete folder path of the file
> path (including the file name) to my application in order to path
> it to my file/folder shredding function to start shredding it, which
> I really still don't know how to do.

That is what the "%1" is for when setting up the "command" Registry value.
The path will be passed to your application has a command-line parameter.
Look at the ParamCount() and ParamStr() functions in the VCL for obtaining
the path when your program is run.


Gambit
Technical Details
Message-ID: <4031ca42$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!204.127.198.204.MISMATCH!wn54feed!worldnet.att.net!208.49.253.98!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <403015ba@newsgroups.borland.com> <4031bf52@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a138a5bb3585d28c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-17 00:09:31 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <403015ba@newsgroups.borland.com> <4031bf52@newsgroups.borland.com>
Subject: Re: Shell Menu API functions
Date: Tue, 17 Feb 2004 00:08:57 -0800
Lines: 25
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: 67.22.138.253
Message-ID: <4031ca42$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1077004866 67.22.138.253 (17 Feb 2004 00:01:06 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!204.127.198.204.MISMATCH!wn54feed!worldnet.att.net!208.49.253.98!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!news-FFM2.ecrc.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail