Click to See Complete Forum and Search --> : HTML help files


ella_liberman
September 28th, 2001, 08:03 AM
Anybody knows how to display HTML help files in a VB application? Thanks much.
ella

shripad_nayak
October 1st, 2001, 06:03 AM
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--