PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
BinarySave (Function)
In French: BinaireSauve
BinarySave is kept for backward compatibility (this function will still be supported in the forthcoming version).
Since version 8, the operating mode of memo items was improved. To benefit from these new features, use HExtractMemo.
The documentation about BinarySave available in WINDEV 5.5 is as follows.
 
Purpose
Saving the content of a binary memo item 4.1 in a file
Syntax
<Result>=BinairySave(<Item> [,<FileName>])
  • <Result> is boolean
  • <Item> is a character string containing the name of the "binary memo" item
  • <File Name> is a character string containing the name of the file to save
Details
BinarySave returns in <Result>:
  • True if the file was saved
  • False if the file was not saved
If <File Name> is specified, the created file will be named <File Name> with the current date and time. If the <File Name> file is already found, it is overwritten.
If <File Name> is not specified, the file will be saved with its initial name, date and time. If the initial file already exists, it will be overwritten.
Notes
  • The binary memos (sound, image, OLE and other) are the new binary memos of WINDEV 4.1 (the binary memos of WINDEV 4.0 cannot be handled by BinarySave).
  • FileToScreen affects the image controls linked to a binary memo item (if the type of the binary memo is an image). If the content of the binary memo is not in image format, you must use BinarySave.
  • BinaryInfo allows you to find out the name, date, time and size of the source file of the binary memo.
  • The memo item was initialized by BinaryLoad.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment