Add 2 Buttons, 1 Label and 1 TextBox called Browse, Delete, Path
Double-click on Browse and type in the following code:
Dim OpenFile As New OpenFileDialog
OpenFile.Title = "Open"
OpenFile.Filter = "All Files|*.*"
OpenFile.ShowDialog()
TextBox1.Text = OpenFile.FileName
Next, double-click on Delete and type in the following code:
Kill (TextBox1.Text)
Before:
After:
It's gone
Project download link: http://www.4shared.com/file/RRcZS90v/VBNET-File_Deleter.html
No comments:
Post a Comment