Discussion:
F1 fails to invoke Help??
(too old to reply)
Bob H
2003-12-01 17:49:39 UTC
Permalink
Hi,

We've installed a VB6 app with it's own HTML Help system onto a PC. Each
form in the app has it's own HelpContextID. On the development PC, the Help
system comes up okay on the appropriate pages using F1 and through accessing
the Help system through the app menu system (using the HtmlHelp API).

When the user tries to invoke the Help system using F1 on their PC, nothing
appears. If they invoke the Help system using the menu on the app, the Help
appears. Thereafter, the user can invoke the Help using F1 okay. The user
can invoke the Help of other applications (eg Word, etc) okay.

Q: Any idea as to why the Help system fails to be invoked when pressing F1
and why it's okay after they have accessed the Help using the menu API?

Many thanks for any advice.

Regards

Bob
Pete Lees
2003-12-02 10:44:11 UTC
Permalink
Bob,
Post by Bob H
Q: Any idea as to why the Help system fails to be invoked when pressing F1
and why it's okay after they have accessed the Help using the menu API?
Perhaps this discussion in the microsoft.public.helpauthoring
newsgroup will help:

"calling .CHM Topics from VB6 app" (May 11-14, 2001)
http://groups.google.com/groups?threadm=%23lnwbKg2AHA.1324%40tkmsftngp07

If not, you may want to repost your question to the
microsoft.public.helpauthoring newsgroup, as that's where most help
developers now hang out (including a number with VB experience).

For a fairly extensive list of VB+CHM online resources, see:

http://www.mshelpwiki.com/index.php?page=HTMLHelpArticles

--
Pete (Microsoft Help MVP)
Bob H
2003-12-02 10:59:02 UTC
Permalink
Thanks Pete.

The link provided the answer. For info: "If you have set set the help file
in the Project Properties dialog, you may not be installing the help file in
the exact same location on the target machine.
Instead, set this as a relative path in code when the app opens, as in:
App.Helpfile = App.Path & "\myhelp.chm"

Best regards

Bob
Post by Pete Lees
Bob,
Post by Bob H
Q: Any idea as to why the Help system fails to be invoked when pressing F1
and why it's okay after they have accessed the Help using the menu API?
Perhaps this discussion in the microsoft.public.helpauthoring
"calling .CHM Topics from VB6 app" (May 11-14, 2001)
http://groups.google.com/groups?threadm=%23lnwbKg2AHA.1324%40tkmsftngp07
If not, you may want to repost your question to the
microsoft.public.helpauthoring newsgroup, as that's where most help
developers now hang out (including a number with VB experience).
http://www.mshelpwiki.com/index.php?page=HTMLHelpArticles
--
Pete (Microsoft Help MVP)
Loading...