Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
| Search | Today's Posts | Mark Forums Read
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 8th, 2006, 09:53 AM
Authorized User
Join Date: Dec 2004
Location: Salo, Loimaa, , Finland.
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to eelisMX
Default Restore file from Recycle Bin


I use the SHFileOperation API call with FO_DELETE and FOF_ALLOWUNDO flags to send a file to the recycle bin. In some cases I may need to restore a specific file. I suppose this could be done by using the SHFileOperation with FO_MOVE flag, but the filename is changed once it is put in the virtual recycle bin.

Do you have any suggestions on how to programatically restore a file from the recycle bin?

Thanks in advance!

Similar Threads
Thread Thread Starter Forum Replies Last Post
create recycle bin abaso.jadhav01 ASP.NET 2.0 Basics 3 December 11th, 2006 04:51 PM
how to read bin file backward arabuafef Need help with your homework? 1 March 21st, 2006 07:29 PM
Restore SQL 2000 .bak file into SQL 7.0 ?? mat41 SQL Server 2000 9 April 8th, 2005 04:00 AM
how to restore single file group Sameer SQL Server 2000 1 September 29th, 2004 11:25 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.