469,915 Members | 2,713 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,915 developers. It's quick & easy.

Help with Help

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


Mar 20 '06 #1
1 1233
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:
------------------------
Private Sub MenuItem4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MenuItem4.Click
Help.ShowHelp(Me, HelpProvider1.HelpNamespace, HelpNavigator.Find, "")
End Sub


"JJ" <ab*@xyz.com> wrote in message
news:OE**************@TK2MSFTNGP14.phx.gbl...
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

Mar 20 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Tom | last post: by
6 posts views Thread by wukexin | last post: by
3 posts views Thread by Colin J. Williams | last post: by
7 posts views Thread by Corepaul | last post: by
5 posts views Thread by Steve | last post: by
8 posts views Thread by Mark | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.