This documentation is archived and is not being maintained.

OLE Container Control for Visual Basic 6.0 Users 

In Visual Basic 6.0, the OLE Container control was used to add insertable OLE objects to your forms. There is no OLE Container control in Visual Basic 2005.

Conceptual Differences

If you need the functionality of the OLE Container control, in some cases you may be able to substitute the Visual Basic 2005 WebBrowser control and use it in the place of an OLE Container.

One of the primary uses of the OLE Container control was to embed Word documents or Excel spreadsheets in a form. The WebBrowser control encapsulates Internet Explorer, which has the ability to display these types of documents. In addition, you can use Visual Studio Tools for Office to interact with Office applications directly from Visual Basic 2005.

See Also