If you want to open a URL just use ExecFile. We use this for executing hyperlinks and it works just fine
e.g. !ExecFile(http://www.delphi.org.nz/) > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Ross Levis > Sent: Thursday, 11 October 2001 18:01 > To: Multiple recipients of list delphi > Subject: [DUG]: Windows Help macros (OT) > > > Slighty off topic here. I'm writing a help file for my delphi app and I > want to add a hyperlink to my website. I'm experimenting with > ExecProgram which works like delphi's WinExec and requires an executable > filename so doesn't accept a URL. There doesn't appear to be anything > equivalent to ShellExecute. The FileOpen macro doesn't seem to work. > > Is there a standard way of doing this? > > I have discovered a way which appears to work OK > ExecProgram('Explorer.exe http://www.StationPlaylist.com', SW_SHOWNORMAL) > > Can anyone see any problems using Explorer.exe this way? Will it work > on all Win32 platforms? > > Cheers, > Ross. > > ------------------------------------------------------------------ > --------- > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/