Microsoft KB Archive/236458

From BetaArchive Wiki
Knowledge Base


PRB: Using Microsoft Forms 2.0 in Internet Explorer

Article ID: 236458

Article Last Modified on 7/29/2003



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
  • Microsoft Internet Explorer 5.01
  • Microsoft Internet Explorer (Programming) 5.01 SP1
  • Microsoft Internet Explorer 5.5
  • Microsoft Internet Explorer (Programming) 5.5 SP1
  • Microsoft Internet Explorer (Programming) 5.5 SP2
  • Microsoft Internet Explorer (Programming) 6.0
  • Microsoft Internet Explorer (Programming) 6 (SP1)



This article was previously published under Q236458

SYMPTOMS

Microsoft Forms 2.0 controls may behave differently depending on the container. For example, a Microsoft Forms combo box in a Microsoft Visual Basic application may appear to work correctly. However, if the combo box is sited on a Visual Basic ActiveX Control, and then the control runs under Internet Explorer, the control does not list any of the elements that are loaded in it using the Add method. You see a combo box of minimum width that does not appear to respond to click events.

The problem is not limited to the combo box. Other controls in the Microsoft Forms package exhibit similar problems under Internet Explorer.

CAUSE


The Forms 2.0 controls were designed for use only with VBA-enabled applications like Microsoft Office. They were not tested for any other environment and are unlikely to work properly. This is by-design.
Because they were not designed or tested to work with applications that do not integrate VBA, Microsoft does not recommend or support using the Forms 2.0 controls in such applications. Integrating VBA into an application is a difficult undertaking and Microsoft does not recommend doing so solely to make use of the Forms 2.0 controls.

RESOLUTION

Developers must use the HTML fixed controls of Internet Explorer along with client-side scripting for any necessary forms elements in a page. This combination should meet most development needs. In the event an alternative to the html 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: kbprb kbctrl kbfaq KB236458