I have a fairly complex VB.NET application and would like to integrate some context-sensitive ''Press F1'' style help into the application at form level. I have developed chm file using MS help workshop, in which each page describes the features of each corresponding windows form. For example, sales help page corresponds to my application's sales screen. Similarly I have 20 forms related with 20 help pages. I have already included the helpProvider control on each form. How to call the respective "help page" programmatically from each form? If I set HTMLNameSpace property to the chm filename it works perfectly. I want to display sales help page if I press F1 in sales screen.. How to do it programmatically? Thanks in advance J Justin
> I have already included the helpProvider control on each form. How to call > the respective "help page" programmatically from each form? If I set > HTMLNameSpace property to the chm filename it works perfectly. I want to > display sales help page if I press F1 in sales screen.. How to do it > programmatically? Set the following properties of your form: 1. HelpKeyword property to HTML file name of the topic in your compiled CHM file, e.g. sales.htm 2. HelpNavigator property to "Topic". This should open specified page in the help. -- Peter Macej Helixoft - http://www.vbdocman.com VBdocman - Automatic generator of technical documentation for VB, VB ..NET and ASP .NET code
Hello J, > I have a fairly complex VB.NET application and would like to integrate some > context-sensitive ''Press F1'' style help into the application at form > level. I have developed chm file using MS help workshop, in which each page > describes the features of each corresponding windows form. For example, > sales help page corresponds to my application's sales screen. Similarly I > have 20 forms related with 20 help pages. > > I have already included the helpProvider control on each form. How to call > the respective "help page" programmatically from each form? If I set > HTMLNameSpace property to the chm filename it works perfectly. I want to > display sales help page if I press F1 in sales screen.. How to do it > programmatically? a sample may be helpful. See: http://www.help-info.de/en/Visual_Basic_net/vbnet.htm and download the example from the "Download" section HTH Best regards Ulrich Kulle *************************************** http://www.help-info.de ***************************************