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
>