Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with context-sensitive help
Message
From
21/12/2018 11:44:24
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01664781
Message ID:
01664784
Views:
53
>I have a compiled help file built with West Wind's Help Builder. For various forms in my app, i have set the form's HelpContextID property to map back to a specific help topic in the CHM file.
>
>My Inno Setup file installs and registers the required foxpro help support files via....
>
>
>[Files]
>Source: System\foxhhelp9.exe; DestDir: {app}; Flags: restartreplace sharedfile uninsneveruninstall
>Source: System\foxhhelpps9.dll; DestDir: {app}; Flags: regserver
>;--------------------------
>[Run]
>Filename: {app}\foxhhelp9.exe; Parameters: /regserver
>
>
>In the application startup process i am turning on help via the following code:
>
>
>SET HELP ON
>ON KEY LABEL f1 HELP
>SET HELP TO myhelp.chm
>HELP
>
>
>The problem is that context sensitive help does not work. The help file displays, but there is no navigation to the specific help topic. So on a form with HelpContextID set to 73, pressing F1 displays the main page of the help file.
>
>I have added a button to a form, and in its CLICK method, i added the code below:
>
>
>SET HELP ON
>SET HELP TO myhelp.chm
>ON KEY LABEL f1 HELP
>HELP ID 73
>
>
>This code above DOES display / navigate to the HELP ID page in the help file. But pressing F1 does not. Again, i get the help file to display with F1, but not the specified topic.
>
>Additionally, context sensitive help DOES work on a windows 10 dev machine when running the app EXE inside and outside of VFP.
>
>What am i missing?

Is this occurring when the program is installed on a network share, but isn't if the program is on a local drive? If that's the case it's probably a security measure in Windows. We've been using a kludge where our program will copy the CHM file to a local folder (e.g. local temporary folder), then use SET HELP to this copy.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform