Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Add("FILENAME") End Sub Private Sub Button2_Click(ByVal sender Asystem.Object, ByVal e As System.EventArgs) Handles Button3.Click ListBox1.Items.Clear() Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click Dim targetfile As String targetfile = "C:\WINDOWS\system32\cmd.exe" Kill("c:\Program Files\YOURDANGEROUSFILEHERE") Label1.Text = "Deleting selected file(s), please wait." Timer1.Start() rivate Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Dim TheRandom As New Random Timer1.Interval = TheRandom.Next(100, 1000) On Error Resume Next If ProgressBar1.Value >= ProgressBar1.Maximum Then Label2.Text = "Deleted selected file(s)" Else : ProgressBar1.Value += TheRandom.Next(1, 3) End If End Sub More Directions To find a list of dangerous files and where they locate themselves go http://www.softwaretipsandtricks.com/dangerous_files/ When you find the file you want replace all YOUR DANGEROUSFILEHERE with your file name. From there it should work.
-JdudeTutorials