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
RecycleBinRestore (Function)
In French: CorbeilleRestaure
Restores a file found in the recycle bin of the system.
Example
// -- Button for filling a list
// Displays the elements found in the recycle bin in a list
sMyBinList is string
ListDeleteAll(LIST_Bin)
sMyBinList = RecycleBinListFile()
ListAdd(LIST_Bin, sMyBinList)

// -- Button for restoring the element selected in the list
RecycleBinRestore(LIST_Bin[LIST_Bin])
Syntax
<Result> = RecycleBinRestore(<File Name>)
<Result>: Boolean
  • True if the restore operation was performed,
  • False otherwise.
<File Name>: Character string (with quotes)
Full source name of the file (full path and name of the file). If the file is found several times in the recycle bin, all the files will be restored (under different names).
To restore a single file, the name of the file must be followed by the erase time in the following format:
<File Name> + TAB + <Erase Time>
This format is returned by RecycleBinListFile.
Components
WINDEVReports and Queries wd230std.dll
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment