PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 Box control
// Display the elements of the recycle bin in a List Box control
sMyBinList is string
ListDeleteAll(LIST_Bin)
sMyBinList = RecycleBinListFile()
ListAdd(LIST_Bin, sMyBinList)
 
// -- Button for restoring the element selected in the List Box control
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.
Component: wd260std.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment