PRB: Comctl32.ocx Does Not Generate OBJECT Tag in Control PadLast reviewed: December 9, 1997Article ID: Q163283 |
The information in this article applies to:
SYMPTOMSActiveX Control Pad fails to generate an OBJECT tag when one of the Comctl32.ocx controls is inserted into an HTML page.
RESOLUTIONThe 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 INFORMATIONAlthough 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.
REFERENCESFor 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |