Visual Basic 2008 Tutorial - How to make a file deleter

preview_player
Показать описание
Watch in HD!!
Sorry If you cant hear me
But anyways here's the code:
Browse Button 1:

Dim Find As New OpenFileDialog
Find.ShowDialog()
TextBox1.Text = Find.FileName

Browse Button 2:

Dim Find As New OpenFileDialog
Find.ShowDialog()
TextBox2.Text = Find.FileName

Browse Button 3:

Dim Find As New OpenFileDialog
Find.ShowDialog()
TextBox3.Text = Find.FileName

Delete Button:

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!")

Please Subscribe,Comment and Rate,Subscribe to my other account teen3564!
Рекомендации по теме
Комментарии
Автор

i find it cool that u are starting programing at an early stage.. : )

SimonsTechShow
Автор

Cool Video! By the way how much years you have..? 10?
Good program!

Many_Mirrors
Автор

@bero231 Same here mate, welcome to the blackhat world.

tune_m
Автор

5/5 but say me how I can make it so that when not 3 files are selected that it dont shows error

XxDragonSharKxX
Автор

hey Great tutorial thanks. how old are you and are you male or female if you don't mind telling? becasue it seems to me that you are a female or you are very young!!

John
Автор

I have 10 years!
Kids become big hackers!
I know install windows,
build computers, fix them,
create programs and a lot of other things!
I am very happy becuse I am hacker!!

Many_Mirrors
Автор

1 question... if ur 9... why is your name teen3564... your not a teenager...

nmcat
Автор

@nmcat1 Cause I just did it cause I couldn't think of a name XD

teen