CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: [RESOLVED] Opening my Help file to a specific topicid from within a menu item with VS2012

  1. #1
    Join Date
    May 2019
    Location
    Michigan
    Posts
    27

    [RESOLVED] Opening my Help file to a specific topicid from within a menu item with VS2012

    I have an VS2012 project that has a menu item called "INSTRUCTIONS".
    I want to be able to open a specific location with my instructions by TopicID.
    The form that this menu item is on is set to open the correct TopicID and works GREAT when I press F1
    I want the user to be able to get the same instructions when they click the menu item.

    This is my most recent attempt:

    Code:
    Private Sub INSTRUCTIONSToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles INSTRUCTIONSToolStripMenuItem.Click
            Help.ShowHelp(Me, HelpFilePath, HelpNavigator.TopicId, "#50")
    End Sub
    Can someone assist me please?

  2. #2
    Join Date
    May 2019
    Location
    Michigan
    Posts
    27

    Re: Opening my Help file to a specific topicid from within a menu item with VS2012

    Never mind...
    This is how it's done...
    Help.ShowHelp(Me, HelpFilePath, HelpNavigator.TopicId, "50")

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)