Solved

Help Contents,Index and search   from menu

Posted on 2002-03-05
1
214 Views
Last Modified: 2010-05-02
I have added a *.chm help file to my application.I want to run the Contents,Index and search  from the Menu on the MDIform.How do I make the call?
0
Comment
Question by:visualbasic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
WolfgangKoenig earned 50 total points
ID: 6842018
The HTML Help ActiveX control (Hhctrl.ocx) provides a rich feature set for help systems. Key features include: an expanding table of contents, keyword search, shortcuts, and pop-up help topics. The control is one of the authoring components that ships with Microsoft HTML Help. It is also included with many third-party HTML Help authoring tools.

The control provides functionality for two types of help systems:

A compiled help (.chm) file
The control uses both an Internet Explorer DLL (Shdocvw.dll) and the HTML Help compiler to offer a variety of features. Users view compiled help files in the Help Viewer. Compiled help files often ship with the programs that they document.

Uncompiled HTML files on a Web site:
The control uses Microsoft Internet Explorer to provide a subset of its feature set. The features of HTML Help can be used on a Web site to present a wide variety of content, from Web-based help to a Web site focused on entertainment.

Notes
The HTML Help ActiveX control is designed to work with Internet Explorer and the Shdocvw.dll component. It does not include the design-time support that is necessary to use it with development tools, such as Microsoft Visual Basic Scripting Edition and Microsoft Visual C++.

For more information about ActiveX technology, see Microsoft's Component Object Model (COM) technologies Web site.
Accessing the HTML Help API
The functionality provided by the HTML Help API resides in the HTML Help ActiveX control (Hhctrl.ocx), which is installed when you set up HTML Help Workshop.

To gain access to the HTML Help API, you link to the Htmlhelp.lib file and include the Htmlhelp.h file in your Windows program. Both of these files are installed on your system when you set up HTML Help Workshop.

About Htmlhelp.lib
Htmlhelp.lib is an export library that exposes the HTML Help API and loads Hhctrl.ocx only when HtmlHelp() is called. In addition, Htmlhelp.lib locates the registered Hhctrl.ocx.

By default, Htmlhelp.lib is located in the following directory:

C:\Program Files\HTML Help Workshop\Lib

About Htmlhelp.h
Htmlhelp.h is a header file that contains the declarations for HtmlHelp(). It must be included in your Windows program.

By default, Htmlhelp.h is located in the following directory:

C:\Program Files\HTML Help Workshop\Include

Notes
Copy Htmlhelp.lib to your Lib folder and Htmlhelp.h to your Include folder, so the compiler can find these files.
If you are using the HTML Help API with Windows 95 and Internet Explorer 3.x, you must either set up DCOM for Microsoft Windows® 95, version 1.2, or set up Internet Explorer, version 4 or later. Otherwise, the calls that you make to HtmlHelp() may not be processed correctly.


;) WoK
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question