Home All Groups Group Topic Archive Search About
Author
9 Mar 2006 9:35 AM
Jason
I have a windows application that has been developed in VB.NET 2003. As part
of this application I have included a help (chm) file that can be called from
the main application menu, or using F1 on one of the data entry screens.

I am having a small issue in navigating within the help file when calling it
from F1. Here is an example of the code I have implemented:

Private help As New HelpProvider
help.HelpNamespace = Application.StartupPath & "\HelpFileName.chm"
help.SetHelpKeyword(Me, "PageName.htm")
help.SetHelpNavigator(Me, HelpNavigator.Topic)

When I click F1 from a data entry screen, the help file is loaded and the
correct page is displayed. The problem I have is that the Contents page is
still show the first icon and does not navidate to the correct page marker.
Therefore the user cannot see the location of the displayed page in the
contents panel.

Is there any way of getting the contents page to also navigate to the page
name for the specific page that is being displayed so the user can see where
they are.

Thanks

Jason

Author
9 Mar 2006 10:16 AM
Peter Macej
This is not HelpProvider issue. You must comile your CHM help with
auto-sync ON. I don't know which tool you are using for creating CHM but
search for it in its manual. If you are using HTML Help Workshop, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/vsconwin5.asp
for info how to do it.


--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code