|
-
Jun 18th, 2003, 10:52 AM
#1
Thread Starter
Registered User
How to show Help file (.chm)? [Resolved]
perhaps my question is not clear enough. let me explain my problem again.
i add a menu to my form.
i also add a HelpProvider to associate the help file with my project.
how can i make this:
when i press at the menu item named Help, it should show the help file (.chm)
code:--------------------------------------------------------------------------------Private Sub mnuHelpHelp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuHelpHelp.Click--------------------------------------------------------------------------------
or when i press at one of the toolbar icon, it should show the help file (.chm)
code:--------------------------------------------------------------------------------Private Sub ToolBar_ButtonClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles ToolBar.ButtonClick--------------------------------------------------------------------------------
what should i add in the code? i have no idea.
please guide me. THank you
Last edited by albertlse; Aug 21st, 2003 at 08:23 PM.
-
Jun 18th, 2003, 12:40 PM
#2
Fanatic Member
Try something like:
VB Code:
Help.ShowHelp(Me, strHelpFileName)
in your menu item click event.
-
Jun 21st, 2003, 10:47 PM
#3
Thread Starter
Registered User
thank you! yes it is working fine now. exactly what i want!!!
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
|