Accessing .chm Help file from VB 6 application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hal w
    New Member
    • Feb 2008
    • 1

    Accessing .chm Help file from VB 6 application

    How do I access a .chm HELP file from a VB 6 application. I have previously used WinHelp, but that is no longer supported for Vista, so I have converted my .hlp files to .chm, but so far have not been able to access them from my application.
  • Bum
    New Member
    • Jan 2008
    • 19

    #2
    Hi,

    I use the shell statement and the hh.exe which reads chm files.

    Code:
    (vb)
    
    Help = App.Path & "\My_Help.chm"
    XXX = Shell("HH.EXE " & Contextstr & Help, vbNormalFocus)
    hope this helps,

    B

    Comment

    • Bum
      New Member
      • Jan 2008
      • 19

      #3
      sorry...forgot a line,

      Code:
      Contextstr = "-mapid " & ContextID & " "

      Comment

      Working...