zunebuggy65
Active member
- Joined
- Oct 12, 2023
- Messages
- 42
- Programming Experience
- 3-5
In vba and vb6 you could delete a file using the Kill command. I had a program that accidentally deleted some files using Kill and code that contained an error. I quickly found out that it could not be undone and the files were gone permanently. I could not even use Recuva to get it back.
I now am new to VB.net and actually have a need for my program to permanently delete a file (although a being careful to only delete a specific file). Is the VB.net DeleteFile() command a permanent delete or does it send it to a recoverable recycle bin or can it be recovered with a program like Recuva?
Thanks
I now am new to VB.net and actually have a need for my program to permanently delete a file (although a being careful to only delete a specific file). Is the VB.net DeleteFile() command a permanent delete or does it send it to a recoverable recycle bin or can it be recovered with a program like Recuva?
Thanks