HTML Help Builder
Compiled help file wont display with ON KEY LABEL F1
Gravatar is a globally recognized avatar based on your email address. Compiled help file wont display with ON KEY LABEL F1
  Chris ODonnell
  All
  Dec 12, 2018 @ 02:29pm

In a VFP9-built executable, there is a companion compiled help file. Built with WW's HTML Help Builder program. The chm help file resides locally on each PC. I am trying to get context-sensitive help to work via the HelpContextID property on foxpro forms.

I am using the following code to set the F1 key to launch the helpfile.

SET HELP ON
SET HELP TO myhelp.chm
ON KEY LABEL F1 HELP

This works on development PCs as does the context sensitive help. But on customer PCs (running Windows 8 and 10), this code does NOT launch the helpfile when F1 is pressed. The help file is present, and the user can issue these commands separately via a "command window" in the app, and all the commands are "issued" without error, but no help file displays when F1 is pressed.

On these same PCs, the user can successfully launch the help file via a ShellExec("myhelp.chm") via a toolbar button. But there is no benefit of context sensitive help.

Using Windows Explorer to view the "properties" screen for the help file, the user noted that there is no "block" checkbox on the chm file.

Any ideas?

Gravatar is a globally recognized avatar based on your email address. re: Compiled help file wont display with ON KEY LABEL F1
  Chris ODonnell
  Chris ODonnell
  Dec 12, 2018 @ 06:59pm

Hmmm. I just noticed that i am shipping but not registering foxhhelp9.exe and foxhhelpps9.dll. Hoping thats the issue.

Gravatar is a globally recognized avatar based on your email address. re: Compiled help file wont display with ON KEY LABEL F1
  Rick Strahl
  Chris ODonnell
  Dec 13, 2018 @ 12:30am

Yes that will be the issue. The help components have to be installed properly registered.

+++ Rick ---

© 1996-2024