Wiki Home

CHMfiles


Namespace: VB
I have made a help file for my application. My problem, the help file runs fine on the machine it was developed on. All other machines, it fails to launch from the application. I can double click the file from window explorer (on any machine) and it works, so I believe the CHM file is good.

The application is developed using VFP v9.0 and the machines are 2000 and XP pro.
The application, run time libraries and help file are on the machineís local drive together in the applicationís startup directory.
I have the following in code:

SET HELP TO myhelpfile.chm in my startup code and in the form, I have a command button and the click event contains: HELP ID THISFORM.HELPCONTEXTID

I have made help files for VFP 8 apps. with no problem. This is the first time making a Help file to run with version 9. Iím stumped and done, any advice is mucho appreciated. -- Ron Olson
You need to install and register 2 runtime-helper files for HTML-Help:
foxhhelp9.exe and foxhhelpps9.dll

Copy these files to c:\program files\common files\microsoft shared\vfp and then run the following commands:
regsvr32 "c:\program files\common files\microsoft shared\vfp\foxhhelpps9.dll"

and
"c:\program files\common files\microsoft shared\vfp\foxhhelp9.exe" /regserver

Now, the help should work. -- JensBrand
The wiki is a groovy place, thanks. ronOlson

Thank you a million times, stopped me going out of my mind trying to get my beautiful .chm file working on an XP box.
Does anyone know if using the InstallShield Express 5.0 for installing solves this problem? Richard Myers -NMC
Category Help Category Open Questions
( Topic last updated: 2010.12.28 10:57:28 AM )