Click here to Skip to main content
11,927,378 members (48,810 online)
Rate this:
Please Sign up or sign in to vote.
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 22: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 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 30-Jan-13 3:37am
Please refer the updated the solution.
syedaliaizazuddin 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 30 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100