Udostępnij za pośrednictwem


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 2008.

Conceptual Differences

If you need the functionality of the OLE Container control, in some cases you may be able to substitute the Visual Basic 2008 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 2008.

See Also

Concepts

Things to Consider Before Upgrading

Reference

WebBrowser Control Overview

Other Resources

Visual Studio Tools for Office