By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,837 Members | 1,667 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,837 IT Pros & Developers. It's quick & easy.

Basic "Help" Question

P: n/a
I have added a HelpProvider to my Form, and set the HelpNavigator and
HelpKeyword in the Form's properties.

When my Form opens and I press F1, the Help activates correctly, but
nothing occurs when selecting the Help command from the Help menu.

Can someone give me an example of the code that should follow the
MenuItem_Click event in order to activate the Help.

With thanks
Dave

May 16 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Use
System.Windows.Forms.Help.ShowHelp(Me, HelpProvider1.HelpNamespace)

or
System.Windows.Forms.Help.ShowHelp(Me, HelpProvider1.HelpNamespace,
HelpProvider1.GetHelpKeyword(MyControl))

to open specific topic page for control or form named MyControl.
--
Peter Macej
Helixoft - http://www.vbdocman.com
VBdocman - Automatic generator of technical documentation for VB, VB
..NET and ASP .NET code
May 17 '06 #2

P: n/a
The static method Help.ShowHelp loads the help file with Contents
showing, while the Help.ShowHelpIndex method loads the help file with
Index activated.

May 17 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.