QUOTE(pritesh22 @ 22 Nov, 2007 - 05:38 AM)

well, i have a project which is to make a backup system and a virus scan programme using VB studio, I've created a back up system using some codes but I doubt I can make a virus scan code since it would require the programme to firstly check which virus's are what and who knows what else :X
so im wondering is it still possible to create a virus scan programme using VB? note that this doesnt have to be very good, a simple scan about afew virus's should be enough, and is there any codes for it o.o
thank you
Well, I myself actually wrote a virus scan...this is the basic idea of coding the virus definitions:
CODE
dim ex as boolean
ex = my.computer.filesystem.fileexists("c:/viruslocation.exe")
if (ex = true) then
my.computer.audio.playsystemsound(mediasounds.asterisk)
messagebox.show("a virus was found")
else
end if
Optional, but risky:
after messagebox....
my.computer.filesystem.deletefile("C:/viruslocation.exe")
thank you,
me