Results 1 to 3 of 3

Thread: Winhelp Does not show

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    203

    Winhelp Does not show

    Trying to run Help from the Click Event of a menu.-:


    RunFile Me.hwnd, "open", "c:\vb\urdu\helpproject.hlp", vbNull, "c:\vb\urdu\", 0


    Now my problem is that no help is visible, nothing happens on the menu click and when I press Ctrl-Alt-Delete I see Winhlp32 in the task list.

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    I suspect that RunFile is a wrapper for the ShellExecute API function. If so you should not pass 0 as the last argument becuase that equals SW_HIDE (or vbHide). Pass vbNormalFocus instead.
    VB Code:
    1. RunFile Me.hwnd, "open", "c:\vb\urdu\helpproject.hlp", vbNull, "c:\vb\urdu\", vbNormalFocus
    Best regards

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Location
    India
    Posts
    203

    thnx

    that works.

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