06-04-2011, 01:12 PM
Create a real AV (AntiVirus)
Hello, in this tutorial you will learn how to code a real Antivirus. Yes, this is not a joke! Dont just c/p (well, you cant ) coz you will later be 'confused'. Also read all tutorial!
Lets start - Shall we?
1.Open VB 2008 & Create new project (make sure you select Windows Forms Application)
2.Modiffy your desing little
3.Add FileSystemWatcher component and put his name to ex.'C'
4.Double click on form (Form_Load) and enter this code :
5.Lets add one function :
6.Lets modiffy Form_Load code again :
7.Now add :
8.Change in ListView :
View --> Details
9.Now add theese columns :
10.Dobule click on START and enter this :
11.Dobule click on STOP and enter this :
12.Now lets add this function (to calculate MD5 of file) :
13.Select c (component) and use Event : Created
14.Add this code :
15.Now create file Scans.dat in your Debug folder (or other location where is your .exe file)
16.Add into Scans.dat file :
You can add more scans like :
Run program & test it
Hello, in this tutorial you will learn how to code a real Antivirus. Yes, this is not a joke! Dont just c/p (well, you cant ) coz you will later be 'confused'. Also read all tutorial!
Lets start - Shall we?
1.Open VB 2008 & Create new project (make sure you select Windows Forms Application)
2.Modiffy your desing little
3.Add FileSystemWatcher component and put his name to ex.'C'
4.Double click on form (Form_Load) and enter this code :
5.Lets add one function :
6.Lets modiffy Form_Load code again :
7.Now add :
8.Change in ListView :
View --> Details
9.Now add theese columns :
10.Dobule click on START and enter this :
11.Dobule click on STOP and enter this :
12.Now lets add this function (to calculate MD5 of file) :
13.Select c (component) and use Event : Created
14.Add this code :
15.Now create file Scans.dat in your Debug folder (or other location where is your .exe file)
16.Add into Scans.dat file :
You can add more scans like :
Run program & test it