PDA

View Full Version : File.Move to Recycle Bin


mindstitchdr
03-19-2007, 06:16 PM
How would I use File.Move to send the file to the user's Recycle Bin instead of removing it completely from their computer using File.Delete?

Thanks in advance.

mindstitchdr
03-20-2007, 10:19 AM
Is this possible?

mindstitchdr
03-21-2007, 12:18 PM
We'll I couldn't find an answer to this problem so I found a workaround. I created a folder within my app called Trash Can and when the user deletes a file it is actually moved to this folder. Kind of like the deleted items folder in Outlook Express. When the user closes the app it checks to see if anything is in the Trash Can folder and asks the user if they wish to completely delete these items. If the user clicks yes then a File.Delete is performed.

RizlaUK
03-21-2007, 01:34 PM
that sounds like the best option :yes