.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

How To Show help file ........

Posted By: susant     Posted Date: December 18, 2008    Points:2   Category :C#
Hello All

to open help file this code is working fine..
string fbPath = Application.StartupPath;
string fname = "help.chm";
string filename = fbPath + @"\" + fname;
FileInfo fi = new FileInfo(filename);
if (fi.Exists)
Help.ShowHelp(this, filename, HelpNavigator.Find, "");
MessageBox.Show("Help file Is in Progress.. ",MessageBoxButtons.OK, MessageBoxIcon.Information);


But requirement like:
suppose i am in purchase form and pressing F1 then it will show the purchase help from help.chm file

suppose i am in sales form and pressing F1 then it will show the sales help from help.chm file..

can we do that....

Author: Praveen             
Posted Date: December 21, 2008     Points: 5   

Try setting the HelpNavigator property to the "TOC" to the Property of MainForm

Happy Coding!!!

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend