Thanks - I don't have any context ID's assigned, but just calling HELP (after SETting it to the chm file at startup) brings it up with the default topic loaded....works for me!
Phil
>This is assigned by you (or whoever created the help file) in the HTMLHelp Workshop in the Alias and Map sections.
>
>I had problems launching CHM files with RUN. This may be the more difficult route, but in the end it makes things run smoother... I think anyway.
>
>Richard
>
>
>
>>OK, here is an even "less informed" question (yes, my ignorance is showing..)
>>
>>How do I determine the HELP ID? I'm not using context sensitive help - all I am trying to do is launch the chm file when the menu selection is made.
>>
>>thanks in advance.
>>
>>>In the menu use HELP ID {whatever the first topic ID is} (Instead of RUN)
>>>In the startup of your app, place SET HELP TO {path}\QDMS2004Help.chm
>>>The files to distribute are foxhhelpps8.dll and foxhhelp8.exe and they are included in the VFP8 MM.
>>>
>>>HTH
>>>Richard
>>>
>>>
>>>>I have a VFP 8 program that has a "Help" menu pad.
>>>>
>>>>The name of the compiled help file is QDMS2004Help.chm
>>>>
>>>>In the menu I had used 'run /n1 hh.exe 'qdmshelp2004.chm' to trigger the help file. All worked well in development.
>>>>
>>>>When I distribute the exe to other machines, it errors with "Cannot run 'qdms2004help.chm" from both the menu and F1. If I go to Windows explorer and double click on the chm file, it launches....and, after that, the F1 and menu calls work fine.
>>>>
>>>>What do I need to do to get this to work on the first call?
>>>>
>>>>Thanks,
Phil Thomas
http://phillipdthomas.comNever let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....