<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.5346.5" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=618331702-02052006>I
should have mentioned - this is for D2006 to add Delphi 5 Windows SDK help to
the Tools menu</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=618331702-02052006>(This
method can be used for any Help file - the trick is knowing MS have a program
called WINHLP32 for this very purpose of opening help files.....it is useful
without arguments as a help file browser)</SPAN></FONT></DIV>
<DIV class=Section1>
<P class=MsoAutoSig align=left><SPAN class=773063520-01052006><FONT
face=Arial><FONT color=#0000ff><FONT size=2>Aha now I know where the help file
is, this is another way to add it to the Tools Menu:<SPAN
class=618331702-02052006> </SPAN></FONT></FONT></FONT></SPAN><SPAN
class=773063520-01052006><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=618331702-02052006> </SPAN></FONT></FONT></FONT></SPAN></P></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=773063520-01052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=773063520-01052006>In
the Tools Menu, Configure Tools and Add,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=773063520-01052006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=773063520-01052006>Title: Delphi5 Win32SDK</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=773063520-01052006>Program: WINHLP32</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=773063520-01052006>Working Dir: C:\Program Files\Common
Files\Borland Shared\MSHelp</SPAN></FONT></DIV>
<DIV><SPAN class=773063520-01052006><FONT face=Arial color=#0000ff
size=2>Parameter: WIN32.HLP</FONT></SPAN></DIV>
<DIV><SPAN class=773063520-01052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=773063520-01052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV class=Section1>
<P class=MsoAutoSig align=left>John</P></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Paul A Norman
[mailto:paul.a.norman@gmail.com] <BR><B>Sent:</B> Monday, 1 May 2006 11:54
p.m.<BR><B>To:</B> johnkbird@paradise.net.nz; NZ Borland Developers Group -
Delphi List<BR><B>Subject:</B> Re: [DUG] ShellExecute<BR><BR></FONT></DIV>
<DIV>>"Shellexecute is part of the Win32 API help, haven't found how to
add that.<BR>Anyone know how?"</DIV>
<DIV> </DIV>
<DIV>I'm sure there's a way using Tools api thingie,</DIV>
<DIV> </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 to it and
it remembers them under categories for launching later - <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> </DIV>
<DIV>The second more immeadiate solution is to create batch files(!) and you
can add these to the </DIV>
<DIV> </DIV>
<DIV> MENU: tools/ configigure tools
BUTTONS: Add / Browse</DIV>
<DIV> </DIV>
<DIV>Obvious but worth mentioning: - change the file filter to
*.*</DIV>
<DIV> </DIV>
<DIV>I've got one called "win32.bat" and all that is in it is </DIV>
<DIV> </DIV>
<DIV>"C:\Program Files\Common Files\Borland Shared\MSHelp\win32.hlp"</DIV>
<DIV> </DIV>
<DIV>Windows does the rest!<BR><BR><BR> </DIV>
<DIV><SPAN class=gmail_quote>On 01/05/06, <B class=gmail_sendername>John
Bird</B> <<A
href="mailto:johnkbird@paradise.net.nz">johnkbird@paradise.net.nz</A>>
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. 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! (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>"Google is your
friend"<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></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>