Subject Re: Help File
From Mervyn Bick <invalid@invalid.invalid>
Date Mon, 29 Jul 2024 16:02:45 +0200
Newsgroups dbase.getting-started

On 2024/07/29 13:06, edward wrote:
> Greetings,
>
> Does the following link provide any ideas for your dilema?
>
> https://www.winhelponline.com/blog/view-winhelp-hlp-files-windows-10-with-winhlp32-exe/#:~:text=Get%20Winhlp32.exe%20%28.hlp%29%20functionality%20in%20Windows%2010%20or,2%3A%20Copy%20the%20files%20to%20the%20Windows%20folder
>
> ed

There isn't really a dilemma. :-) I patched my own version of Windows 10
years ago so that I could open .hlp files.

The problem here is that Charlie has created a .chm help file for his
program and he needed a way to open it from within the program.

.chm files can be opened using openURL() but when I set up the little
example program for Charlie I was a bit careless. I copied the Target
string from a shortcut on my desktop without seeing that it was for a
.hlp file.  If you change the line in my example form to

openUrl("C:\Program Files (x86)\Common Files\Borland\BDE\localsql.chm")

or use any other .chm file then the example should work.

Mervyn.