OleType Property

See Also1312YAY

Applies To

OLE control2HQDVVU.

Description

Specifies the status of the object in an OLE control.

Usage

[form.]ole.OleType

Setting

The OleType property settings are:

Setting          Description

 

0                   Linked.  The OLE control contains a linked object.  All the object's data is managed by the application that created it.  When the object is saved (set Action = 11), only link information such as SourceDoc, SourceItem, and so on, is saved in the specified file by your Visual Basic application.

1                   Embedded.  The OLE control contains an embedded object.  All the OLE object's data is managed with the Visual Basic application.  When the object is saved (set Action = 11), all data associated with the object is saved in the specified file.

3                   None.  The OLE control does not contain an object.

 

Remarks

Use this property to determine if the OLE control contains an object, or to determine the type of object the OLE control contains.

Use the AppIsRunning property to determine if the application that created the object is running.

When creating an object, use the OleTypeAllowed property to determine the type of object that can be created.

Data Type

IntegerDOKXHY


See Also

Help:

Action Property04T78S3

AppIsRunning Property8UE005T

FileNumber Property349SJPB

OleTypeAllowed Property633XBW1

 

Programmer's Guide:

Chapter 22, "Object Linking and Embedding (OLE)"