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 / C++ / MFC
  4. *.hlp files

*.hlp files

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
3 Posts 2 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.
  • B Offline
    B Offline
    briefcase
    wrote on last edited by
    #1

    How can I launch .hlp files from my application? (IE user clicks "help" button it luanches the help file). Thanks

    S 1 Reply Last reply
    0
    • B briefcase

      How can I launch .hlp files from my application? (IE user clicks "help" button it luanches the help file). Thanks

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      You could try the ShellExecute Win32 API function (see the MSDN docs) - using the path to the help file as the _lpFile_ parameter & "open" as the _lpVerb_ parameter should do the trick - and it also works for pretty much any file you want to open that has a file association (which is nice). Alternatively (he says, after looking in the MSDN docs), you could try the WinHelp API function - never used it myself. Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

      B 1 Reply Last reply
      0
      • S Stuart Dootson

        You could try the ShellExecute Win32 API function (see the MSDN docs) - using the path to the help file as the _lpFile_ parameter & "open" as the _lpVerb_ parameter should do the trick - and it also works for pretty much any file you want to open that has a file association (which is nice). Alternatively (he says, after looking in the MSDN docs), you could try the WinHelp API function - never used it myself. Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

        B Offline
        B Offline
        briefcase
        wrote on last edited by
        #3

        whats the lpDirectory param supposed to be with shellexecute()?

        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