Datahighway Posted January 15, 2003 Posted January 15, 2003 HI how can i insert a helpfile (e.g help.chm) in a vb .net program. Quote
*Gurus* divil Posted January 15, 2003 *Gurus* Posted January 15, 2003 Once you have your .chm file, you use the Windows Forms HelpProvider class (which should be on your toolbox) to associate things with your help file. [mshelp]ms-help://MS.VSCC/MS.MSDNVS/vbcon/html/vbtskIntegratingHelpIntoWFCClientApplicationWithHelpProviderControl.htm[/mshelp] Once you drop this component on your form your controls on the form should gain extra properties, which can be used to link them to the help file. You can also use Windows.Forms.Help.ShowHelp() to display your help file manually. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Datahighway Posted January 16, 2003 Author Posted January 16, 2003 HI Divil, can you give me a sample please ? I have try to use the Help.ShowHelp(parent,"myhelp.chm") but i got a error message. System.ArgumentNullException' What have i forgotten ? best regards Datahighway Quote
*Gurus* divil Posted January 16, 2003 *Gurus* Posted January 16, 2003 I haven't actually ever used this, but looking at the help file I think you should be doing: Help.ShowHelp(Me, "myhelp.chm") Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Datahighway Posted January 16, 2003 Author Posted January 16, 2003 !!! Thanks that works fine !!! Best regards Datahighway Quote
Graphite2001 Posted October 16, 2003 Posted October 16, 2003 What if for each form in my VB.Net project, i want to open a different page in my chm help file? for example, i have Form1, Form2 and Form3, for Form1, when i click F1, i want it to open CHM file's Chapter1 directly, Form2 to Chapter2; Form3 to Chapter3. Is it possible to do it? Anson Quote
Administrators PlausiblyDamp Posted October 16, 2003 Administrators Posted October 16, 2003 Never tried it but I would imagine the properties HelpKeyword / HelpNavigator or HelpString would provide that functionality. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.