Results 1 to 13 of 13

Thread: Calling a .chm file **SOLVED**

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Sgt-Peppa's Avatar
    Join Date
    Mar 2003
    Location
    Munich - Germany
    Posts
    476

    Angry Calling a .chm file **SOLVED**

    Hey guys, i have a small prob here!

    I am trying to call a .chm file throug the API. I do not get any Error Messages but my helpfile just aint showing, Does anyone see my mistake here?

    VB Code:
    1. Public Helpfile As String
    2. Private Const HH_Display_Topic = &H0
    3. Private Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA" _
    4. (ByVal hwndCaller As Long, ByVal pszFile As String, ByVal uCommand As Long, ByVal dwData As Long) As Long
    5.  
    6.  
    7. Private Sub Form_Load()
    8. Helpfile = "Hilfe.chm"
    9. End Sub
    10.  
    11. Private Sub mnu_hilfe_Click()
    12. Call HtmlHelp(0, Helpfile, HH_Display_Topic, ByVal 0&)
    13. End Sub

    Thanx for your help in advance,


    Stephan
    Last edited by Sgt-Peppa; Apr 16th, 2003 at 04:40 AM.
    Keep Smiling - even if its hard
    Frankie Says Relax, wossname Says Yeah!
    wossname:--Currently I'm wearing a gimp suit and a parachute.
    C# - Base64 Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width