Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#VS2010Microsoft
i have to create a help file in vs2010
as in vs2008 a help wizard is provided but in vs 2010 i cant do that.
is that possible to create help file and on press of f1 it goes to help page .
and give me idea to do that stuff.
where should i have started to do that?
Posted 28-Jan-13 21:02pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You can use the Help class in VS2010
Help.ShowHelp(this, @"Q:\help\Myhelp.chm", HelpNavigator.Topic, "BACNet");
<pre lang="c#">
Help.ShowHelp(this, @"Q:\help\Myhelp.chm", HelpNavigator.TopicId, "10001");
You can add the above code in the Form_KeyUP Event
private void Form1_KeyUp(object sender, KeyEventArgs e)
           if (e.KeyCode == Keys.F1) 
               Help.ShowHelp(this, @"Q:\help\Myhelp.chm", HelpNavigator.Topic, "BACNet");
So if, you press F1 key in the form , the help file will be open
Best Regards,
syedaliaizazuddin at 29-Jan-13 23:31pm
could you plz explain more about that ? i want like msdn help . when some one click f1 then my help will be shown . how could i achieve that from above code?
Muthuraja Irullandi at 30-Jan-13 3:37am
Hi, Please refer the updated the solution.
syedaliaizazuddin at 30-Jan-13 4:49am
this is right but i have two questions 1- how can i write my own help file ? 2- i have a large web application so how could i implement that code in it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
0 Sergey Alexandrovich Kryukov 442
1 sanket saxena 355
2 Abhinav S 268
3 OriginalGriff 250
4 CPallini 205
0 Sergey Alexandrovich Kryukov 8,497
1 OriginalGriff 4,850
2 Peter Leow 3,839
3 Maciej Los 3,535
4 Er. Puneet Goel 3,107

Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid