PRB: Using Microsoft Forms 2.0 in Internet Explorer

ID: Q236458


The information in this article applies to:
  • Microsoft Internet Explorer (Programming) versions 3.0, 3.01, 3.02, 4.0, 4.01, 4.01 SP1, 4.01 SP2, 5


SYMPTOMS

Microsoft Forms 2.0 controls can behave differently depending on the container. A Microsoft Forms Combo Box within a Visual Basic application might appear to work fine; however, if the Combo Box is sited on a Visual Basic ActiveX Control, and this control is run under Internet Explorer, it will fail to list any of the elements loaded into it using the Add method. You will see a Combo Box of minimum width that does not appear to respond to click events.

Other controls in the Microsoft Forms package exhibit similar problems under Internet Explorer.


CAUSE

Microsoft Forms objects were intended to function only under Visual Basic for an applications (VBA) environment. Currently, Microsoft Form objects can be used successfully within any Office product, as well as within Visual Basic standalone applications (standard EXEs, as opposed to User Controls, ActiveX Controls or ActiveX EXEs). There are known problems with their behavior in other containers, including Internet Explorer and Visual C++.


RESOLUTION

Developers should use the HTML fixed controls of Internet Explorer along with with client-side scripting for any necessary forms elements in a page. This combination was designed to meet most development needs. In the event an alternative to the fixed controls is desired, developers may choose to employ custom or third-party ActiveX controls.


STATUS

This behavior is by design.

Additional query words: MSForms Visual Basic

Keywords : kbActiveX kbCtrl kbIE300 kbIE301 kbIE400 kbIE401 kbIE302 kbIE401sp1 kbIE401sp2 kbGrpInet kbIE500 kbDSupport kbIEFAQ
Version : WINDOWS:3.0,3.01,3.02,4.0,4.01,4.01 SP1,4.01 SP2,5
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: January 27, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.