<div>&gt;&quot;Shellexecute is part of the Win32 API help, haven't found how to add that.<br>Anyone know how?&quot;</div>
<div>&nbsp;</div>
<div>I'm sure there's a way using Tools api thingie,</div>
<div>&nbsp;</div>
<div>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&nbsp;to it and it remembers them under categories for launching later -&nbsp;<u>very simplistic
</u> 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.</div>
<div>&nbsp;</div>
<div>The second more immeadiate solution is to create batch files(!) and you can add these to the </div>
<div>&nbsp;</div>
<div>&nbsp;MENU:&nbsp;&nbsp; tools/ configigure tools&nbsp; BUTTONS:&nbsp;Add / Browse</div>
<div>&nbsp;</div>
<div>Obvious but worth mentioning: -&nbsp; change the file filter to *.*</div>
<div>&nbsp;</div>
<div>I've got one called &quot;win32.bat&quot; and all that is in it is </div>
<div>&nbsp;</div>
<div>&quot;C:\Program Files\Common Files\Borland Shared\MSHelp\win32.hlp&quot;</div>
<div>&nbsp;</div>
<div>Windows does the rest!<br><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 01/05/06, <b class="gmail_sendername">John Bird</b> &lt;<a href="mailto:johnkbird@paradise.net.nz">johnkbird@paradise.net.nz</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Agreed - D2006 I added Delphi 5 Help to the Tools menu.&nbsp;&nbsp;However the info on<br>Shellexecute is part of the Win32 API help, haven't found how to add that.
<br>Anyone know how?<br><br>....so remember GIYF!&nbsp;&nbsp;(see below)<br><br><br>delphi shellexecute uses unit<br><br>Executing and Running Applications and Files from Delphi Code<br>Be sure to add ShellApi to your Unit's uses clause. Run Notepad. uses
<br>ShellApi; ... ShellExecute(Handle, 'open', 'c:\Windows\notepad.exe', nil,<br>nil, ...<br><a href="http://delphi.about.com/od/windowsshellapi/a/executeprogram.htm">delphi.about.com/od/windowsshellapi/a/executeprogram.htm
</a> - 27k - Cached -<br>Similar pages<br><br>&quot;Google is your friend&quot;<br>This shows the search text and the first match....not bad eh!<br><br>John<br><br>-----Original Message-----<br>From: <a href="mailto:delphi-bounces@ns3.123.co.nz">
delphi-bounces@ns3.123.co.nz</a> [mailto:<a href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</a>] On<br>Behalf Of Dave O'Brien<br>Sent: Monday, 1 May 2006 5:58 p.m.<br>To: NZ Borland Developers Group - Delphi List
<br>Subject: RE: [DUG] ShellExecute<br><br><br>Thanks, the help used to be more... helpful.<br><br><br><br>David O'Brien<br><br>ICCS<br><br>P.O Box 1116<br><br>Palmerston North<br><br>027 442 1037<br><br>Computer sales and support services
<br>Custom software design<br>-----Original Message-----<br>From: <a href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</a> [mailto:<a href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz
</a>]<br>On Behalf Of Conor Boyd<br>Sent: Friday, 28 April 2006 5:04 p.m.<br>To: NZ Borland Developers Group - Delphi List<br>Subject: RE: [DUG] ShellExecute<br><br>ShellAPI<br><br>HTH,<br><br>C.<br><br>-----Original Message-----
<br>From: <a href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</a> [mailto:<a href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</a>]<br>On Behalf Of Dave O'Brien<br>Sent: Friday, 28 April 2006 4:44 
p.m.<br>To: Nahum Wild; NZ Borland Developers Group - Delphi List<br>Subject: [DUG] ShellExecute<br><br>Can anyone tell me the unit I need to include to use this? D2005.<br><br>Ta.<br><br>_______________________________________________
<br>Delphi mailing list<br><a href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a> <a href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</a><br><br>_______________________________________________
<br>Delphi mailing list<br><a href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a> <a href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</a><br><br>_______________________________________________
<br>Delphi mailing list<br><a href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a> <a href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</a><br><br><br>__________ NOD32 
1.1461 (20060329) Information __________<br><br>This message was checked by NOD32 antivirus system. <a href="http://www.eset.com">http://www.eset.com</a><br><br><br>_______________________________________________<br>Delphi mailing list
<br><a href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a><br><a href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</a><br></blockquote></div><br>