|
|
|
|
OLESave (Function) In french: OLESauve Saves the object found in an OLE control in binary format. The OLE server is invoked to save the object (the server does not appear). The OLE control is not updated. Then, the object that was saved can be re-loaded by OLELoad.
OLECreateEmpty(OLE_OLE1, "PBrush") // Process // Save the object OLESave(OLE_OLE1, "OBJECT1.OLE") OLEPaste(OLE_OLE1, "PBrush") // Save the object OLESave(OLE_OLE1, "OBJECT1.OLE")
Syntax
<Result> = OLESave(<OLE control> , <File name>)
<Result>: Boolean - True if the object was saved,
- False otherwise.
<OLE control>: Control name Name of the OLE control associated with the OLE object. If this parameter corresponds to an empty string (""), the control used will be the control to which the current event belongs. <File name>: Character string Name and path (if necessary) of the destination file. The extension must be specified. If the path is not specified, the file is saved in the current directory. Remarks Only OLE version 1 is supported.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|