See Also
Applies To
OLE control.
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
Integer
Help:
Action Property
AppIsRunning Property
FileNumber Property
OleTypeAllowed Property
Programmer's Guide:
Chapter 22, "Object Linking and Embedding (OLE)"