Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Erasing file to recycle bin

Status
Not open for further replies.

NullOp

Programmer
Jan 2, 2004
81
US
When a file is programmatically ERASEd in FPW 2.6 it is erased without being moved to the recycle bin. Does anyone know how to make FPW move it to the recycle bin? VFP has the RECYCLE modifier for ERASE.

"Life Is Good!
 
FPW was made before the recycle bin was invented. It's internal file erase routine doesn't know anything about the recycle bin.
You will have to use vbscript or something to call a waindows API routine in order to do that.


-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top