Help with Help

J

JJ

Ok I have now got to grips with HTML help workshop and created my help
files, TOC etc.

Now how do I integrate this with my application? I have added an
errorprovider to my form and pointed it to my hhp file, but I am not sure
which is the correct next step.

Specifically my questions are:
1. How do I get the index, table of contents menu items to link to the help
file
2. How do I add the help files to my visual basic solution (if thats what I
need to do) so I know where they end up following a debug/release build?

I have looked at the instruction:
Help.ShowHelpIndex(this, helpfile);
[where helpfile is a path to the hhp file apparently]
- but this seems to ignore the fact that I am using an errorprovider doesn't
it? I have pointed that to my help file already.

If this is the correct approach, how do I get Visual Studio to put the help
file in the right place during the debug process?

TIA
 
J

JJ

I've worked out how to do the commands for opening the chm file (see below),
but I am still not sure how to add the files to my project. Is the only
place to do this in the set up project? Is there no way to include the files
at the debug build?



Open the chm file set to the contents tab:
-----------------------------------------
Private Sub MenuItem2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem2.Click
Help.ShowHelp(Me, HelpProvider1.HelpNamespace)
End Sub


....set to the Index tab:
---------------------
Private Sub MenuItem3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem3.Click
Help.ShowHelpIndex(Me, HelpProvider1.HelpNamespace)
End Sub


....set to the Search Tab:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top