Okey first of all i am Really really new to Visual Basic (6) i'm makin a program that get's rid of a virus that infected people's computer when they went to buddypicture.net (now shut down but there is still alot of people infected) i got the rest all pretty but i'm havin some probs
1. i have this to try to kill the process
and i get Run-Time error '53' file not found. but it DOES exist
2. i'm not so sure about the DeleteSetting command. i'm trying to get Private Sub Command5_Click() to remove the following setting from the registry.
the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
and removing the string
AntiVirus REG-SZ c:\WINDOWS\av.exe
from that key
3. Sub Delete() is that the right thing to use to delete c:\windows\av.exe ? if it is could i get a hint on the Syntax?
Please help
Thanx alot
VB Newbie!
1. i have this to try to kill the process
Code:
Private Sub Command1_Click()
Kill "C:\WINDOWS\av.exe"
End Sub
and i get Run-Time error '53' file not found. but it DOES exist
2. i'm not so sure about the DeleteSetting command. i'm trying to get Private Sub Command5_Click() to remove the following setting from the registry.
the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
and removing the string
AntiVirus REG-SZ c:\WINDOWS\av.exe
from that key
3. Sub Delete() is that the right thing to use to delete c:\windows\av.exe ? if it is could i get a hint on the Syntax?
Please help
Thanx alot
VB Newbie!