Using ShellExecute, how do I display linked HTML files

Please post all questions relating to Help & Manual 6 here!

Moderators: Alexander Halser, Tim Green

Post Reply
NolsSmit
Posts: 2
Joined: Wed Jun 12, 2019 11:40 am

Using ShellExecute, how do I display linked HTML files

Unread post by NolsSmit »

I've created HTML documentation for an application using Help&Manual. To display the entry point into the documentation (Using Delphi), I use:

Code: Select all

Shellexecute(Handle, 'open', PChar('D:\Delphi\Sageolit\Manual\HTML\index.htm'), nil, nil, SW_SHOWNORMAL);
One of the chapters is the 'Summary' and if I double click the particular file, my browser display the following address:
file:///D:/Delphi/Sageolit/Manual/HTML/index.html?summary.htm

But, obviously, I can't use the address in Shellexecute:
Shellexecute(Handle, 'open', PChar('D:\Delphi\Sageolit\Manual\HTML\index.htm?summary.htm'), nil, nil, SW_SHOWNORMAL);

In StackOverflow, I found a posting: Open local html file with parameters in default broswer on windows at https://stackoverflow.com/questions/109 ... on-windows
I'm not sure how what my parameter should be.

I'm using Help&Manual version 6 with a Win32 application running on Windows 10. It seems WinHelp32.exe is not supported in Windows 10

I will appreciate any help to solve this issue.
Post Reply