See Also
Applies To
OLE control.
Description
Determines a handle to a memory or graphical device interface (GDI) object containing data in a specified format. Not available at design time.
Usage
[form.]ole.Data [ = data ]
Remarks
Set this property to send data to an application that created an object. Before using the Data property, set the Format property to determine the type of data contained in the memory or GDI object.
You can get a list of acceptable formats for an OLE object using the ObjectAcceptFormats and ObjectGetFormats properties.
Setting this property to 0 frees the memory associated with the handle.
OLE Automation provides an easier and more reliable solution for sending data and commands to and from an object. If an object supports OLE Automation, you can access the object through the Object property, or using the CreateObject and GetObject functions.
Data Type
Long
Help:
CreateObject Function
DataText Property
Format Property
GetObject Function
Object Property
ObjectAcceptFormats Property
ObjectAcceptFormatsCount Property
ObjectGetFormats Property
ObjectGetFormatsCount Property