PC Review


Reply
Thread Tools Rate Thread

Add chm file to help menu

 
 
gordon
Guest
Posts: n/a
 
      27th Dec 2006
Hi

I have an app that i have written a chm help file for.

What is the best way to associate that with my help menu and the F1 key.

I have added the file to the project already, just not sure of the best way
to call it. I have tried
private void helpaHelpToolStripMenuItem_Click(object sender, EventArgs e)
{
Process.Start("hilda helpa.chm");
}

Is this the best way to call the help file?

Thanks

Doug


 
Reply With Quote
 
 
 
 
Dave Sexton
Guest
Posts: n/a
 
      27th Dec 2006
Hi Doug,

To show the help programmatically simply call the static Help.ShowHelp
method on the Help class:

Help Class
http://msdn2.microsoft.com/en-us/lib...orms.help.aspx

To have a menu item display the help assign its shortcut to F1. In the
event handler you posted call Help.ShowHelp.

You can use the HelpProvider component to associate context-sensitive help
with your controls:

Windows Forms Programming
HelpProvider Component Overview (Windows Forms)
http://msdn2.microsoft.com/en-us/library/s3ztx0at.aspx

--
Dave Sexton
http://davesexton.com/blog

"gordon" <(E-Mail Removed)> wrote in message
news:45920630$0$9775$(E-Mail Removed)...
> Hi
>
> I have an app that i have written a chm help file for.
>
> What is the best way to associate that with my help menu and the F1 key.
>
> I have added the file to the project already, just not sure of the best
> way to call it. I have tried
> private void helpaHelpToolStripMenuItem_Click(object sender, EventArgs e)
> {
> Process.Start("hilda helpa.chm");
> }
>
> Is this the best way to call the help file?
>
> Thanks
>
> Doug
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot find menu Archive in File pulldown menu G. Vijay Microsoft Outlook Discussion 3 17th Jul 2009 11:02 AM
Outlook shows multiple menu bars (File menu)... can't remove... =?Utf-8?B?WEZyZWFr?= Microsoft Outlook Discussion 3 8th Dec 2005 02:14 PM
Not able to call a function from custom menu item that is added in word menu(File) jayrm100@yahoo.com Microsoft Word Document Management 0 9th Nov 2005 05:36 AM
Can't file the EXPORT and IMPORT menu item in FILE menu I live on Outlook Microsoft Outlook 2 17th Sep 2004 03:07 PM
Adding Custom menu items in the File Menu mookashi Microsoft Outlook VBA Programming 0 3rd Mar 2004 01:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:33 PM.