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, "", "", "","")
    else
    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:
    23#\Windows\YourApphlp.htm

    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:
    http://www.microsoft.com/technet/pro...n/cehelp3.mspx
     
  2. Cableguy

    Cableguy Expert Licensed User

  3. Cableguy

    Cableguy Expert Licensed User

Loading...