CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: HTML help files

  1. #1
    Join Date
    Aug 2001
    Posts
    7

    HTML help files

    Anybody knows how to display HTML help files in a VB application? Thanks much.
    ella


  2. #2
    Join Date
    May 2001
    Location
    Australia
    Posts
    133

    Re: HTML help files

    This is very basic solution.

    1. Create HTML Help project using HTML Help Workshop (available at micorsoft's web site).

    2. Compile the HTML Help project to, say onlinehelp.chm. Copy it to application directory.

    3. In application's VB code (in Main() or MDIForm_Load()) place this line.
    App.HelpFile = App.Path & "\onlinehelp.chm"

    4. When application is running, pressing F1 will invoke HTML Help.

    For more flexible Help you need to add context-ids in HTML Help file and use then in VB or use HTML Help API (HTMLHelp) to display specific help topic.

    --Take the life as it comes--

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

Featured