Connecting HTML Help to Visual Basic Programs

things that you could not do otherwise (like use Training Card Help) and works with both Visual Basic 5 and. Visual Basic 6. It comes with its own tutorial, …

More PDF Content

Connecting HTML Help to Visual Basic Programs
Page 1
Connecting HTML Help to Visual Basic Programs by Don Lammers Copyright 1999-2000 by Don Lammers. All rights reserved. Last updated 2000-10-23 Presented with author’s permission by Shadow Mountain Tech
Page 2
Connecting HTML Help to Visual Basic Programs 1 Contents Scope………………………………………………………………………………………………………………………………………………1 Acknowledgements…………………………………………………………………………………………………………………………..1 Connecting Context Sensitive HTML Help to Visual Basic……………………………………………………………………2 Calling HTML Help Directly from Your Visual Basic Code ………………………………………………………………….8 Using the Common Dialog Control to Call HTML Help………………………………………………………………………14 Training Cards from Visual Basic……………………………………………………………………………………………………..14 Resources ………………………………………………………………………………………………………………………………………14 Scope If you are trying to call HTML Help from Visual Basic I generally recommend using David Liske’s Help subclassing module and tutorial available at http://mvps.org/htmlhelpcenter. It makes life a lot easier, lets you do things that you could not do otherwise (like use Training Card Help) and works with both Visual Basic 5 and Visual Basic 6. It comes with its own tutorial, so I will not attempt to explain it here. However, it always helps to understand how the original was designed to work before trying to override its functionality. Or you may have a project that does not need any more functionality than is provided by Microsoft. This document is intended to show you how to hook HTML Help to Visual Basic 6 and later without using add-ons. Earlier versions of Visual Basic will require you to make all calls directly to the HTML Help API or to use an add-on like David Liske’s subclassing module. Acknowledgements The following information is from my own experimentation and from people who have walked this path before me. Thanks to all of the following: David Liske, Dana Cline, Microsoft HTML Help WorkShop Help, Microsoft Knowledge Base, The Developer’s Guide to WINHELP.EXE (Jim Mischel), Building Windows 95 Help (Nancy Hickman), Paul O’Rear, Developing Online Help for Windows 95 (Boggan, Farkas, and Welinske), Gordon F. MacLeod, Burt Abreu.
Page 3
Connecting HTML Help to Visual Basic Programs 2 Connecting Context Sensitive HTML Help to Visual Basic Visual Basic (versions 6 and later) provides directly for calling window level HTML Help topics using the F1 key, or providing What’s This? Help for each control, including activation from the F1 key. The choice between What’s This? Help and form level F1 help can be made on a form by form basis. Only version

Download Connecting HTML Help to Visual Basic Programs pdf from www.smountain.com, 15 pages, 59.75KB.