Results 1 to 6 of 6

Thread: [VB.NET] Help Files

Threaded View

  1. #1

    Thread Starter
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    [VB.NET] Help Files

    I recently completed a project which required me to provide some sort of user documentation so i decided to include a help file in my project.

    Once you have compiled your help file, add it to your project by clicking:
    Project --> Add Existing Item

    Once the dialog box appears browse for your compiled help file and select and add it to the project. Now we need to add the Help Provider control to the form. Simply drag an drop the Help Provider control (F1 button as icon) on to your form. Now the control should appear at the bottom of the screen.

    Now we need to set the HelpNameSpace property of the control to ..\HelpFile.chm the file name would be the name of the file you added to your project.

    Once you have completed that all that is left is to make the Help File appear

    Code:
    'show the contents of the help file
    Help.ShowHelp (Me, HelpProvider1.HelpNameSpace)
    Code:
    'show the index page of the help file
    Help.ShowHelpIndex (Me, HelpProvider1.HelpNameSpace)
    Code:
    'show the search tab of the help file
    Help.ShowHelp (Me, HelpProvider1.HelpNameSpace, HelpNavigator.Find, "")
    Last edited by Paul M; Aug 13th, 2007 at 12:30 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width