PRB: Visual Basic ActiveX Container Controls Do Not Act as Containers in Some Environments

ID: Q244200


The information in this article applies to:
  • Microsoft Internet Explorer (Programming) versions 4.0, 4.01, 4.01 SP1, 4.01 SP2, 5
  • Microsoft Visual InterDev, version 6.0
  • Microsoft FrontPage 2000


SYMPTOMS

When a Visual Basic UserControl object has the Container property set to true, that control is supposed to act as a container for other controls.

However, when used in one of the products listed at the beginning of this article, a compiled container control is unable to contain other controls.


CAUSE

For ActiveX controls created with Visual Basic to support containment, their container must implement the ISimpleFrameSite interface. The products listed at the beginning of this article do not implement this interface.


STATUS

This behavior is by design.


REFERENCES

For more information on Visual Basic container controls, see Allowing Developers to Put Controls on Your Control on the Microsoft Developer Network (MSDN).

For more information on the ISimpleFrameSite interface, see it's entry in in the Platform SDK references on MSDN.

Additional query words: container

Keywords : kbActiveX kbVBp kbVBp600 kbVisID600 kbGrpInet kbDSupport
Version : WINDOWS:4.0,4.01,4.01 SP1,4.01 SP2,5,6.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.