Skip to main content
Participating Frequently
January 26, 2009
Answered

map # fails to display topic

  • January 26, 2009
  • 3 replies
  • 501 views
I'm working with a developer that wants to include a degree context sensitivity in some legacy VB code.

(1) Why does Help refer to C:\Program Files\Adobe\Adobe RoboHelp 6\CSH API\RoboHelp_CSH.csh? This file doesn't exist for RoboHelp 7, so what did I miss?

(2) He has found something that allows him to call the correct topic by filename.htm, but a call using the map# first opens the chm, toc displayed & correct topic selected (so far so good), but the topic is not displayed until the user presses the [Enter] key. Which strikes me as both novel and slightly weird.

Of course, the CSH test tool shows no fault, and there doesn't appear to be anything wrong with the files I'm providing. So, might there be some strange combination of windows properties at my end that prevent the topic from displaying? Or What? Any ideas?

This topic has been closed for replies.
Correct answer Pete_Lees
Hi, mkpta,

quote:

He has found something that allows him to call the correct topic by filename.htm, but a call using the map# first opens the chm, toc displayed & correct topic selected (so far so good), but the topic is not displayed until the user presses the [Enter] key. Which strikes me as both novel and slightly weird.


That does sound odd. I'd suggest that the developer look at at a few of the following resources, which are among the best available on attaching HTML Help files to Visual Basic applications:

http://frogleg.mvps.org/helptechnologies/htmlhelp/hhvbsmpl.html
http://www.smountain.com/m_ProgrammingHelp.htm#ConnectHelp
http://www.adobe.com/support/robohelp/htmlhelp.html
http://www.help-info.de/en/Help_Info_HTMLHelp/hh_api.htm
http://helpware.net/FAR/far_faq.htm#VBandHH

And there are quite a number of other resources listed here:

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

Note that all these resources describe how to use Microsoft's HTML Help API. In a situation like yours, I don't believe that there's a need to use a third-party (i.e., Adobe) solution; the Microsoft API provides the standard way to connect .chm files to VB applications.

Pete

3 replies

mkptaAuthor
Participating Frequently
January 26, 2009
Peter: Don't know how I missed it (last Friday pm)!

Pete: Excellent. My developer's using the MS API, and trapping [F1].

I think we can call this one closed.

Many thanks for your rapid responses this morning.
Pete_LeesCorrect answer
Participating Frequently
January 26, 2009
Hi, mkpta,

quote:

He has found something that allows him to call the correct topic by filename.htm, but a call using the map# first opens the chm, toc displayed & correct topic selected (so far so good), but the topic is not displayed until the user presses the [Enter] key. Which strikes me as both novel and slightly weird.


That does sound odd. I'd suggest that the developer look at at a few of the following resources, which are among the best available on attaching HTML Help files to Visual Basic applications:

http://frogleg.mvps.org/helptechnologies/htmlhelp/hhvbsmpl.html
http://www.smountain.com/m_ProgrammingHelp.htm#ConnectHelp
http://www.adobe.com/support/robohelp/htmlhelp.html
http://www.help-info.de/en/Help_Info_HTMLHelp/hh_api.htm
http://helpware.net/FAR/far_faq.htm#VBandHH

And there are quite a number of other resources listed here:

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

Note that all these resources describe how to use Microsoft's HTML Help API. In a situation like yours, I don't believe that there's a need to use a third-party (i.e., Adobe) solution; the Microsoft API provides the standard way to connect .chm files to VB applications.

Pete
Peter Grainge
Community Expert
Community Expert
January 26, 2009
Welcome to the forum.

1 is answered in Snippets on my site.

Don't know about the second one.



Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.