Basic "Help" Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Devlei

    #1

    Basic "Help" Question

    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

  • Peter Macej

    #2
    Re: Basic "Help&quot ; Question

    Use
    System.Windows. Forms.Help.Show Help(Me, HelpProvider1.H elpNamespace)

    or
    System.Windows. Forms.Help.Show Help(Me, HelpProvider1.H elpNamespace,
    HelpProvider1.G etHelpKeyword(M yControl))

    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

    Comment

    • Cerebrus

      #3
      Re: Basic "Help&quot ; Question

      The static method Help.ShowHelp loads the help file with Contents
      showing, while the Help.ShowHelpIn dex method loads the help file with
      Index activated.

      Comment

      Working...