VB.NET - Delete a File



Delete a File


'Dim Filename as String = "c:\syntaxhelp.txt"

My.Computer.FileSystem.DeleteFile(Filename, FileIO.UIOption.AllDialogs, FileIO.RecycleOption.SendToRecycleBin)

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.