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

ID: Q163283


The information in this article applies to:


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 the most recent version of Visual Basic . 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 query words: OCX COMCTL32


Keywords          : kbole kbActiveX kbGrpASP AXSDKControls 
Version           : WINDOWS:1.0
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 7, 1999