Microsoft KB Archive/246034

= PRB: ActiveX Control Fails to Appear on HTML Page =

Article ID: 246034

Article Last Modified on 7/20/2001

-

APPLIES TO


 * Microsoft Internet Explorer 3.0
 * Microsoft Internet Explorer 3.01
 * Microsoft Internet Explorer 3.02
 * Microsoft Internet Explorer 4.0 128-Bit Edition
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 4.01 Service Pack 1
 * Microsoft Internet Explorer 4.01 Service Pack 2
 * Microsoft Internet Explorer 5.0

-



This article was previously published under Q246034



SYMPTOMS
An ActiveX control added to an HTML page fails to appear or seems invisible. There is no indication that the control should be on the page; the standard icons for control failure--a white X in a red box, a dot in a white box, or a triangle/square/sphere icon--do not appear.

This behavior may suddenly appear after adding one or more PARAM tags to the declaration of the OBJECT tag for the control.



CAUSE
The OBJECT tag does not specify a HEIGHT and WIDTH attribute.



RESOLUTION
Add WIDTH and HEIGHT attributes for the OBJECT tag. Here is an example OBJECT tag for a Visual Basic User Control that specifies a HEIGHT and WIDTH:    Alternatively, for Visual Basic controls, specify _ExtentX and _ExtentY parameters as specified in following example:     



STATUS
This behavior is by design.

Keywords: kbprb kbdhtml KB246034

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.