PRB: Comctl32.ocx Does Not Generate OBJECT Tag in Control Pad

Last reviewed: December 9, 1997
Article ID: Q163283

The information in this article applies to:

  • Microsoft ActiveX Control Pad, version 1.0

SYMPTOMS

ActiveX Control Pad fails to generate an OBJECT tag when one of the Comctl32.ocx controls is inserted into an HTML page.

RESOLUTION

The solution is to install Visual Basic 4.0. Comctl32.ocx is a part of this product and cannot be redistributed by any developer using this file without having a valid license for it at design time.

MORE INFORMATION

Although ActiveX Control Pad is unable to generate an OBJECT tag in this case, it does not display an error message. Also, if the user selects "New HTML Layout" and adds one of the common controls to the Control tool box, then tries to insert it on the HTML Layout control, a message appears saying, "The control could not be created because it is not properly licensed."

The problem is that Comctl32.ocx is a file that ships with Visual Basic. If VB is installed, then uninstalled, it leaves this .ocx file and the corresponding registry entries on the machine. However, the license for the control is removed from the machine during the uninstall process. Since this is not there, design time instances of the control cannot be created. The common controls misleadingly appear as candidates for the ActiveX Control Pad to insert but cannot be instantiated.

REFERENCES

For the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:

   http://support.microsoft.com/support/vinterdev/


Additional reference words: OCX COMCTL32
Keywords : AXSDKControls kbole
Version : 1.0
Platform : WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 9, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.