Returns the type of OLE object (embedded or linked) contained in a control. Read-only at design time and run time.
Control.OLETypeAllowed[ = nValue]
- Returns a value that indicates the type of OLE object (embedded or linked) contained in a control. Possible values are 0 (Linked), 1 (Embedded), вЂ“1 (an OLE Bound control that does not contain an OLE object), and вЂ“2 (ActiveX control (.ocx)).
OLETypeAllowed is only useful when you specify a setting for the DocumentFile property.
|You can set the OLETypeAllowed property in code to create a linked OLE object using the DEFINE CLASS command.|