File Assassin (Made in Visual Basic 2010)
This is a full Tut about how to make a File Deleter.. With this Software you can delete Multiple Files at once…. but I think I still miss a lot of options in this version! I wanted to add some options that will kill a process and delete the file right after! But that will come in my next version! I decided to call it File Assassin! Hopefully the next version will be better….
Watch Full Video Tutorial (Visual Basic 2008-2010)
1) Instructions i Text….. First up:
3 Labels, Choose 3 times “Labels” from you tool box, and place it in your form-box.
3 TextBoxes, Now do the same with TextBoxes: 3 TextBoxes and place them 1 by 1 under each LABEL.
4 Buttons, Place the buttons as you can see. 1 Infront of Each TextBox, and the last name it “DELETE”
1 ProcessBar, Put 1 Process bar right infront of the DELETE button..
2) Look at the Image and name the Buttons and the Labes as you see…
3) Double click on your FORM / BOX, DELETE EVERYTHING and past the following code inside.
Past Code as told in STEP 3:
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Find As New OpenFileDialog Find.ShowDialog() TextBox1.Text = Find.FileName End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim Find As New OpenFileDialog Find.ShowDialog() TextBox2.Text = Find.FileName End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim Find As New OpenFileDialog Find.ShowDialog() TextBox3.Text = Find.FileName End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim Targetfile1 As String ProgressBar1.Value = 10 Dim Targetfile2 As String ProgressBar1.Value = 20 Dim Targetfile3 As String ProgressBar1.Value = 30 Targetfile1 = TextBox1.Text ProgressBar1.Value = 40 Targetfile2 = TextBox2.Text ProgressBar1.Value = 50 Targetfile3 = TextBox3.Text ProgressBar1.Value = 60 Kill(Targetfile1) ProgressBar1.Value = 70 Kill(Targetfile2) ProgressBar1.Value = 80 Kill(Targetfile3) ProgressBar1.Value = 90 ProgressBar1.Value = 100 MsgBox("Files deleted succesfully!") End Sub End Class
4) After you pasted the CODE, you are DONE! For testing, Click on DEBUG or PLAY BUTTON. And chose 3 FILES to DELETE! It will not deleted LOCKED or Running programse.
Download Full Working Version: http://www.mediafire.com/download.php?9o20xdf3gikr753
The Downloadable version is used in the Video (Now also a Form Icon have been Added)
Notice: For this Tutorial I have used Visual Basic 2010! You can also use an older version, such as Visual Basic 2008!
Made by ChiNa-Man – Posted first time on China-Cheats.com