Microsoft KB Archive/236531

From BetaArchive Wiki
Knowledge Base


MOD2000: Cannot Insert HHCtrl.ocx into a Microsoft Access Form

Article ID: 236531

Article Last Modified on 6/24/2004



APPLIES TO

  • Microsoft Office 2000 Developer Edition
  • Microsoft Access 2000 Standard Edition



This article was previously published under Q236531


Moderate: Requires basic macro, coding, and interoperability skills.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).


SYMPTOMS

If you try to insert the HHCtrl.ocx ActiveX control into a Microsoft Access form, you may receive the following error message:

The operation on the OLE object failed.

The OLE Server may not be registered.

To register the OLE Server, reinstall it.

CAUSE

The HHCtrl.ocx ActiveX control is an HTML Help control designed to insert features such as Help navigation and secondary window functionality into an HTML file. The control does not function in an Access form.

RESOLUTION

Use the TreeView control, which is similar in appearance to the HHCtrl.oxc ActiveX control. The TreeView control is designed to display data that is hierarchical in nature, such as organization trees, the entries in an index, or the files and folders on a disk, and it is supported in Access 2000.

For more information about how to use the TreeView control, open the MSDN Library - Microsoft Office 2000 Developer. In the Active Subset list, select Microsoft Office 2000 Developer Documentation. Click the Index tab, type TreeView controls, described as the keywords to find, and then click Display.

If you have not installed the MSDN Library, you can view the topic at MSDN Online: Using the Treeview Control.


Additional query words: pra HHCtrl oxc Object

Keywords: kbbug kbnofix KB236531