WARNING: The file you delete with this code it NOT restore able so do not delete anything you need.
In this tutorial I will show you how to delete a file, or multiple files, on your computer. This can be done is either Visual Basic 6 or 5, it is the same in both.
First you need to Open Visual basic. You will see a screen like this (Might be a tiny different if your using VB5):
Chose 'Standard EXE':
You will then get a screen that looks like this:
Double click inside the little box named 'Form1":
A Screen like this will then pop up:
In between Private Sub Form_Load() and end sub type Kill ("location of file you want to delete"):
Optional Step:
If you want to delete more then one file Just hit enter after the First Kill code and type it again but with the other file location you wish to delete:

Now that you have all the code written it's time to run it. If you do not know how to run it please read on further. If you do know how to run it, well go run it already!
Now this is simple all you have to do to run it is click the little blue start arrow on the standard tool bar:

If you correctly put int he location of the file you wanted to delete, and after hitting start this should pop up:

When that pops up just close it and go to where the file you deleted was and it will not be there anymore. 
WARNING: The file you delete with this code it NOT restore able so do not delete anything you need.