|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB Program - CHM help integrationI have the program, I have the help file. I've drug a helpprovider into
the project - now I'm not sure what to put into the properties to make the connection. Does anyone know of a tutorial on how to actually integrate them. I thought I saw the obvious but all I ever brin up is the first page. //al On Wed, 27 Sep 2006 10:00:38 GMT, al jones wrote:
> I have the program, I have the help file. I've drug a helpprovider into Bump - please, some ideas .... //al> the project - now I'm not sure what to put into the properties to make the > connection. Does anyone know of a tutorial on how to actually integrate > them. I thought I saw the obvious but all I ever bring up is the first > page. > > //al If I understand, you want to assign a help topic to each control on your
form. So when you press F1, you'll get the proper help for selected control. You need to set two properties on each control: 1. HelpKeyword property to HTML file name of the topic to be opened in your compiled CHM file, e.g. myTopic.htm 2. HelpNavigator property to "Topic". If you want to open specified topic from menu or "Help" button, just call: System.Windows.Forms.Help.ShowHelp(Me, HelpProvider1.HelpNamespace, "myTopic.htm") Don't forget to specify the absolute full path to the CHM file on program startup. Note that the system doesn't look in application's folder. Use something like: HelpProvider1.HelpNamespace = IO.Path.Combine(appPath, "myHelpFile.chm") and use System.Reflection.Assembly.GetExecutingAssembly.Location to get appPath -- Peter Macej Helixoft - http://www.helixoft.com VSdocman - Commenter and generator of class documentation for C#, VB ..NET and ASP .NET code On Fri, 29 Sep 2006 10:31:27 +0200, Peter Macej wrote:
Show quoteHide quote > If I understand, you want to assign a help topic to each control on your I've looked at and tried so many ubsuccessful combinations I was getting> form. So when you press F1, you'll get the proper help for selected control. > > You need to set two properties on each control: > 1. HelpKeyword property to HTML file name of the topic to be opened in > your compiled CHM file, e.g. myTopic.htm > 2. HelpNavigator property to "Topic". > > If you want to open specified topic from menu or "Help" button, just call: > System.Windows.Forms.Help.ShowHelp(Me, HelpProvider1.HelpNamespace, > "myTopic.htm") > > Don't forget to specify the absolute full path to the CHM file on > program startup. Note that the system doesn't look in application's > folder. Use something like: > HelpProvider1.HelpNamespace = IO.Path.Combine(appPath, "myHelpFile.chm") > > and use System.Reflection.Assembly.GetExecutingAssembly.Location to get > appPath real disfusted. Have arm in casr at the moment - surgery tiday - so I'll try it "soon?" and get back. Thanks //al
how to get both old and new value for a changed text box
How can I create a Shortcut (with parameters) on a user-desktop with vb.net? how to run the execuatable before windows shutting down word length occurance in a text.. Posting login data with HttpWebRequest Redirecting standard output How to re-start application? Data Access Advice HTTP Client Request Object HELP! .Net user control in a VB6 app requires double-click to activate |
|||||||||||||||||||||||