Click here to Skip to main content
15,913,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
After i deleted the items/files or data, i want them to be in the LISTBOX
I'm not sure if the LISTBOX is the right VB.NET tools for viewing the deleted files.

If the deleted files are on the listbox i want to restore the selected file back to it's original location, but i don't know the codes for restore.

Just comment if you don't understand i will try to explain.

What I have tried:

I found this.
My.Computer.FileSystem.DeleteFile(SelFileName, FileIO.UIOption.AllDialogs, FileIO.RecycleOption.SendToRecycleBin, FileIO.UICancelOption.DoNothing)

But this is sending them to recycle bin.
Posted
Updated 13-Oct-17 5:34am

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900