Welcome to Macrobject Community Login | Register | Faq  

    Macrobject Community
  Macrobject Software Knowledge Management and Collaboration Platform
Search    
   

Re: Open the right page in the chm from VB.Net
Started by floriankarch at 12-16-2009 9:00 AM. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  12-16-2009, 9:00 AM
floriankarch is not online. Last active: 12/17/2009 9:48:53 PM floriankarch

Top 50 Posts
Joined on 12-17-2009
Posts 3
Open the right page in the chm from VB.Net
Reply Quote
In the Help.ShowHelp function, if i want to go to a specific bookmark created in the word document, what's the manner ?

I succeed with Help.ShowHelp(Me, "mychm.chm",KeywordIndex,"MyString") but i would prefer to search with hidden bookmarks in the word document (= name of the vb screen) rather than a specific string.

Thanks.
   Report 
  12-17-2009, 3:05 AM
Peter is not online. Last active: 10/31/2011 9:51:29 AM Peter

Top 10 Posts
Joined on 09-27-2007
Posts 171
Re: Open the right page in the chm from VB.Net
Reply Quote
Solution 1: Using topic filename:
Help.ShowHelp(Me, "Word2CHM 2008.chm", HelpNavigator.Topic, "LaunchingWord2CHM.htm#ScreenShot2")

Solution 2: Using Help Id:
Help.ShowHelp(Me, "Word2CHM 2008.chm", HelpNavigator.TopicId, "1186")

See also:
http://www.macrobject.com/en/word-2-chm/doc2008/topics/UsinContSensHelpInYourProg.htm
http://www.macrobject.com/en/word-2-chm/doc2008/topics/HowToScroToSpecPlacInSpecTopiInM.htm
   Report 
  12-17-2009, 5:51 AM
floriankarch is not online. Last active: 12/17/2009 9:48:53 PM floriankarch

Top 50 Posts
Joined on 12-17-2009
Posts 3
Re: Open the right page in the chm from VB.Net
Reply Quote
What's the "LaunchingWord2CHM.htm" file ?

With solution 2, i have "HH_HELP_CONTEXT called without a [MAP] section" error message when launching the Help.ShowHelp. I have put the helpid.ini file in the same directory of chm file.
   Report 
  12-17-2009, 6:41 AM
Peter is not online. Last active: 10/31/2011 9:51:29 AM Peter

Top 10 Posts
Joined on 09-27-2007
Posts 171
Re: Open the right page in the chm from VB.Net
Reply Quote
LaunchingWord2CHM.htm is the topic which contains bookmark ScreenShot2. This is an example only. Please replace it with your topic file and bookmark name.

The "HH_HELP_CONTEXT called without a [MAP] section" error: Select something other than "None" in the "Auto Help Id" drop-down list to solve it.
The .helpid.ini is used by Word-2-CHM itself only.
   Report 
  12-17-2009, 6:50 AM
floriankarch is not online. Last active: 12/17/2009 9:48:53 PM floriankarch

Top 50 Posts
Joined on 12-17-2009
Posts 3
Re: Open the right page in the chm from VB.Net
Reply Quote
I don't have topic file, just a chm !?
I have put "VB.NET.vb" in the drop-down ...
   Report 
  12-18-2009, 7:39 AM
Peter is not online. Last active: 10/31/2011 9:51:29 AM Peter

Top 10 Posts
Joined on 09-27-2007
Posts 171
Re: Open the right page in the chm from VB.Net
Reply Quote
Please see online help for how to get the topic file name:
http://www.macrobject.com/en/word-2-chm/doc2008/topics/UsingCommandLine2.htm
   Report 
Post
Macrobject Comm... » Help Authoring ... » Word-2-CHM Conv... » Re: Open the right page in the chm from VB.Net

Powered by Community Server, by Telligent Systems