Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Call CHM content specific

Call CHM content specific

Scheduled Pinned Locked Moved C#
help
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dwayner79
    wrote on last edited by
    #1

    Depending on the userControl currently loaded, I want to capture the F1 and open up the help file to the section associated with that control. I have the F1 captured and opening the help file to the main screen. Here is my current code: //initialize string HelpFileName = Application.StartupPath + @"\Help\PC3_Setup.chm"; helpProvider1.HelpNamespace = HelpFileName; //call (from function either F1 or pressed help button) Help.ShowHelp(this, helpProvider1.HelpNamespace); I do not want a tool tip or a pop up, I actually want to jump to the section of the help that is being worked on. Thanks in advance... ***************** "We need to apply 21st-century information technology to the health care field. We need to have our medical records put on the I.T." —GW

    D 1 Reply Last reply
    0
    • D Dwayner79

      Depending on the userControl currently loaded, I want to capture the F1 and open up the help file to the section associated with that control. I have the F1 captured and opening the help file to the main screen. Here is my current code: //initialize string HelpFileName = Application.StartupPath + @"\Help\PC3_Setup.chm"; helpProvider1.HelpNamespace = HelpFileName; //call (from function either F1 or pressed help button) Help.ShowHelp(this, helpProvider1.HelpNamespace); I do not want a tool tip or a pop up, I actually want to jump to the section of the help that is being worked on. Thanks in advance... ***************** "We need to apply 21st-century information technology to the health care field. We need to have our medical records put on the I.T." —GW

      D Offline
      D Offline
      Dwayner79
      wrote on last edited by
      #2

      Here is the answer in case it comes up in the future. Help.ShowHelp(this, helpProvider1.HelpNamespace, HelpNavigator.Topic, @"whateverthishappenstobe.html"); ***************** "We need to apply 21st-century information technology to the health care field. We need to have our medical records put on the I.T." —GW

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups