ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / OLE functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
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.
Component: wd290ole.dll
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help