>"Shellexecute is part of the Win32 API help, haven't found how to add that.
Anyone know how?"
Anyone know how?"
I'm sure there's a way using Tools api thingie,
But I have resorted to two methods, one is calling an exe from Tools, that I've made myself that lets me drag and drop shortcuts on to it and it remembers them under categories for launching later - very simplistic
but effective and hopefully some what future proofs me - you can have the code if you want it - only made it for myself in D4 days so it is very simple.
The second more immeadiate solution is to create batch files(!) and you can add these to the
MENU: tools/ configigure tools BUTTONS: Add / Browse
Obvious but worth mentioning: - change the file filter to *.*
I've got one called "win32.bat" and all that is in it is
"C:\Program Files\Common Files\Borland Shared\MSHelp\win32.hlp"
Windows does the rest!
On 01/05/06, John Bird <[EMAIL PROTECTED]> wrote:
Agreed - D2006 I added Delphi 5 Help to the Tools menu. However the info on
Shellexecute is part of the Win32 API help, haven't found how to add that.
Anyone know how?
....so remember GIYF! (see below)
delphi shellexecute uses unit
Executing and Running Applications and Files from Delphi Code
Be sure to add ShellApi to your Unit's uses clause. Run Notepad. uses
ShellApi; ... ShellExecute(Handle, 'open', 'c:\Windows\notepad.exe', nil,
nil, ...
delphi.about.com/od/windowsshellapi/a/executeprogram.htm - 27k - Cached -
Similar pages
"Google is your friend"
This shows the search text and the first match....not bad eh!
John
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Dave O'Brien
Sent: Monday, 1 May 2006 5:58 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] ShellExecute
Thanks, the help used to be more... helpful.
David O'Brien
ICCS
P.O Box 1116
Palmerston North
027 442 1037
Computer sales and support services
Custom software design
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ]
On Behalf Of Conor Boyd
Sent: Friday, 28 April 2006 5:04 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: RE: [DUG] ShellExecute
ShellAPI
HTH,
C.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On Behalf Of Dave O'Brien
Sent: Friday, 28 April 2006 4:44 p.m.
To: Nahum Wild; NZ Borland Developers Group - Delphi List
Subject: [DUG] ShellExecute
Can anyone tell me the unit I need to include to use this? D2005.
Ta.
_______________________________________________
Delphi mailing list
[email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________
Delphi mailing list
[email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
__________ NOD32 1.1461 (20060329) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
