|
-
Aug 19th, 2002, 06:50 AM
#1
Thread Starter
Addicted Member
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.
-
Aug 19th, 2002, 06:59 AM
#2
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:
RunFile Me.hwnd, "open", "c:\vb\urdu\helpproject.hlp", vbNull, "c:\vb\urdu\", vbNormalFocus
Best regards
-
Aug 19th, 2002, 07:06 AM
#3
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|