To run propoer PPC help file

Discussion in 'Code Samples & Tips' started by Big JR, May 25, 2007.

  1. Big JR

    Big JR Member Licensed User

    To run proper PPC help...

    Sub Button1_Click
    If FileExist("\windows\help\YourApp.lnk") = true and FileExist("\windows\YourApphlp.htm") = true then
    Shell("\Windows\peghelp.exe", "file:YourApphlp.htm#Main_Contents", "", "", "", 0, "", "", "","")
    msgbox("Can't find help file", "YourApp", cMsgBoxOK, cMsgBoxExclamation)
    end if
    End Sub

    The link file needs to go in \Windows\help. It contains just one line:

    The 23 refers to the number of characters in "\Windows\YourApphlp.htm"

    With the link above specifying the folder, the help file goes in \Windows. Its html is different to PC help files.

    There's good guide at:
  2. Cableguy

    Cableguy Expert Licensed User

  3. Cableguy

    Cableguy Expert Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice