ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Attention : This is version 26 of this documentation page. This feature may have been changed or removed in a higher version.
Help / WLanguage / Managing databases / HFSQL functions / Compatible Hyper File functions
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
Warning
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.
Below is the documentation of BinarySave, available in WINDEV 5.5
 
Purpose
Saving the content of a binary memo item 4.1 in a file
Syntax
<Result>=BinarySave(<Item> [,<File Name>])
  • <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
  • Binary memos (sound, image, OLE and other) are the new binary memos of WINDEV 4.1 (binary memos of WINDEV 4.0 cannot be used 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 version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/23/2020

Send a report | Local help