I recently completed a help file for our application, and it works GREAT on the developer pc's, just not when distributed with the compiled exe to a box that doesn't have VFP installed. As a matter of fact, nothing at all appears to happen when you press F1 on a non-vfp box.
Our program is written in VFP7.0 SR1 . Here's a list of what we've done to try and make this work:
inside each form, a SET TOPIC TO "Something in Index" command is set up to enable the F1 to seek right into the applicable topic for that screen. I've read this doesn't work, but actually works excellent if you have an index item that matches it.
For Deployment we've tried:
HHUPD.EXE -- Didn't help on old OS's, and not allowed for new ones (i.e. XP)
Manually copying and registering the 4 required files:
(%windows%): hh.exe
(%system%) : hhctrl.ocx, itircl.dll, itss.dll
Even went so far as to try to deploy and register these 2 files thinking they may have something to do with VFP launching the help file and passing the parms needed for topic callouts:
(%system%) : foxhhelpps.dll
(%system%) : foxhhelp.exe
Finally, I should note that we don't use the main _Screen for our app, rather we run a top level form and have the directive "SCREEN=OFF" in the config.fpw file to prevent the screen from being called up. We've also tried leaving the screen on, that doesn't work either.
Any help would save the remaining hairs from getting ripped out of my head.....
Thanks-
-Joe E.
Our program is written in VFP7.0 SR1 . Here's a list of what we've done to try and make this work:
Code:
gcHelpFile = gcAppsPath + "EnHelp.chm"
SET HELP ON && Yes, we know it not needed, but tried anyway
SET HELP TO (gcHelpFile)
inside each form, a SET TOPIC TO "Something in Index" command is set up to enable the F1 to seek right into the applicable topic for that screen. I've read this doesn't work, but actually works excellent if you have an index item that matches it.
For Deployment we've tried:
HHUPD.EXE -- Didn't help on old OS's, and not allowed for new ones (i.e. XP)
Manually copying and registering the 4 required files:
(%windows%): hh.exe
(%system%) : hhctrl.ocx, itircl.dll, itss.dll
Even went so far as to try to deploy and register these 2 files thinking they may have something to do with VFP launching the help file and passing the parms needed for topic callouts:
(%system%) : foxhhelpps.dll
(%system%) : foxhhelp.exe
Finally, I should note that we don't use the main _Screen for our app, rather we run a top level form and have the directive "SCREEN=OFF" in the config.fpw file to prevent the screen from being called up. We've also tried leaving the screen on, that doesn't work either.
Any help would save the remaining hairs from getting ripped out of my head.....
Thanks-
-Joe E.