IGetOleObject interface

Gets access to an OLE control on a Visual Basic container.

When to implement

IGetOleObject is a private Visual Basic interface and is not implemented by other containers. Its intended purpose is to assist in the migration of VBX controls to OLE controls.

When to use

The use of IGetOleObject is no longer recommended, even if you are migrating a VBX control to an OLE control, because containers other than Visual Basic do not support it.

You can obtain a pointer to the IGetOleObject interface by calling GetExtendedControl to get a pointer to the Extender object and then calling QueryInterface with IID_IGetOleObject on the Extender object pointer.

Members

The IGetOleObject interface inherits from the IUnknown interface. IGetOleObject also has these types of members:

Methods

The IGetOleObject interface has these methods.

MethodDescription
GetOleObject

Gets a pointer to a control.

 

Requirements

Header

VbInterf.h

IID

IID_IGetOleObject is defined as 8A701DA0-4FEB-101B-A82E-08002B2B2337

 

 

Community Additions

ADD
Show:
© 2014 Microsoft