How can i make an Anti virus with Visual Basic 6. I know how to scan a file with CRC32, but i want an Anti virus that have “Scan Folder” and “Full System Scan” button. And can anybody tell me how to make a Real Time Protector for the Anti Virus?
Related posts:








17 responses so far ↓
1 CanadaRAM // Oct 5, 2008
First of all, do you have a database of all known virus signatures? And or some tested heuristic code for testing for virus-like but unknown code? No?
Go back to the starting line, invest a few hundred thousand or million dollars in research, and then come back and ask how to program the software.
The first step in solving a problem is to understand the scope of the problem.
2 samuel // Oct 5, 2008
buddy, listen it might sound harsh but i don’t really think you can make a anitvirus with visual basic 6. i mean yes, maybe you could but using other programs would much much easier than using visual basic 6 to make an anitvirus. if people could make antivirus with visual basic 6, the top companies wouldn’t hire the top students/grads for their companies. they would hire the high school people, lol
so.. go do a course in software engineering, get a job in a antivirus company and be a part of a team who makes antivirus software.
3 WHOOCARES // Oct 15, 2008
So what… maybe he’d learn the hard way…, when those huge corporations are battling things built by 10 year olds…morons…. maybe he has a good idea… to make his own corporation of virii dispencing servers that only his software will detect…. and then to be bought by the man… or google. maybe hes building a real-time antivirus that actually interveins with the system and really allows the user to control every command., who knows…
4 Blieve me! // Nov 21, 2008
no tears buddy..,if You want 2 know,70% Of conputer virus is maid from VB6,so the virus cannot be removed with an unknown system program,unless is using ANSI encoding or DOS Patch,so.. I think its better to make anti virus with vb6,so,if want to make an anti virus,you should make a virus to understand it.
5 Sena // Dec 13, 2008
Actually, i can create an RTP Antivirus. But i can’t create the “Scan Folders” and “Full System Scan”.
First > you’ll need to search in Google or Yahoo! about “How to get processes”. But remember, you’ll need the PATH of the processes too.
Second > Usually all tutorials about processes put the processes into a listbox.
Third > Make sure the name of the list is “List1″
Fourth > Enter these code. Please change the “calCRC” with the code to scan the CRC32 of a file. Oh ya, i almost forgot. Remember to make a Timer named Timer1. Now enter these code:
Private Sub Timer1_Timer()
Dim i As Integer
For i = 0 to List1.ListCount - 1
If calCRC(List1.List(i)) = “Enter the virus CRC here!” Then
MsgBox “Virus are running!”,vbExclamation,”#virus name here#
ElseIf calCRC(List1.list(i)) = “#Enter the virus CRC here#” Then
MsgBox “Virus are running”, vbExclamation, “#virus name here#
End If
Next
End Sub
Okay, you can add another virus there with just adding “ElseIf calCRC……” like that. Remember, “IF” codes must be ended with “End If”. “For” must be ended with “Next” and “Sub” must be ended with “End Sub”. Okay, this is the Basic of making an RTP Antivirus. That’s all for now. I don’t want to give a tutorial about how to use a database because, this comment will be a looooong comment. That’s all. Thanks. I hope you’ll like this little tutorial
6 Sena // Dec 13, 2008
Oh! I forget to tell you about to Enable the timer on the Properties and give it an Interval: 5000 seconds, so it will check the processes every 5 seconds or 5000 miliseconds
7 Sena // Dec 25, 2008
Oh, sorry. Remember to add a ” after the #virus name here# code. So, the code will be like this:
Private Sub Timer1_Timer()
Dim i As Integer
For i = 0 to List1.ListCount - 1
If calCRC(List1.List(i)) = “Enter the virus CRC here!” Then
MsgBox “Virus are running!”,vbExclamation,”#virus name here#”
ElseIf calCRC(List1.list(i)) = “#Enter the virus CRC here#” Then
MsgBox “Virus are running”, vbExclamation, “#virus name here#”
End If
Next
End Sub
instead of:
Private Sub Timer1_Timer()
Dim i As Integer
For i = 0 to List1.ListCount - 1
If calCRC(List1.List(i)) = “Enter the virus CRC here!” Then
MsgBox “Virus are running!”,vbExclamation,”#virus name here#
ElseIf calCRC(List1.list(i)) = “#Enter the virus CRC here#” Then
MsgBox “Virus are running”, vbExclamation, “#virus name here#
End If
Next
End Sub
8 Tom // Jan 8, 2009
im very interested in making an antivirus im in the process right now using vb.net (visual basic express 2008) and need the code sena thanks for the codes XD
9 Helping Hand! // Mar 14, 2009
No worries bro! I’ll help u! I’ve got an idea of creating an antivirus with vb6 and have the coding! I’ll give u thru mail! feros.acodes@gmail.com don’t worry!
10 Tomy // Mar 24, 2009
What is the best language to use it for a simple anti-virus ?
And hey people, Why the negative comcments? May be he wanna just make a proof-of-concept here !
11 BRG // Jul 16, 2009
i want to create an anti virus in vb6 but as soon as possible becuase my study depend on it plz send
code on gosai09@gmail.com
12 Dave // Jul 26, 2009
That guy that left the negative comment about high school people getting hired is obviously just out of uni or going to uni and is jealous because theirs people that are progressing faster than him.
answer to your question is complicated. To create and anti-virus in vb6 is making an already complicated issue even harder.
if you contact me however i have already created anti virus on vb6 and vb 2008 enterprise if you email me at dave1224@hotmail.co.uk i will be more than willing to give you both these source codes and a tutorial included.
13 svet // Sep 5, 2009
i am a starter in programming myself, and wondered about this very thing.
there are people who can’t because they haven’t learnt to, and those who can’t becausethey just wont - i found that to do something it takes practise, asking around,and dedication to reach the goal, so if i asked about ada 95, b, or a dead language would you negative minded people get snotty, or just respond knee-jerk like?
to the person who asked about this! i wish you luck in your endevour, and that you enjoy your project!
14 Braduz // Oct 11, 2009
Can someone help me, I need to make an antivirus but dont know the codes
someone email me them
and what buttons I would need?
Thanks -braduz911@live.co.uk
15 ash // Oct 25, 2009
hi, im looking for some help in this area.
if anyone has any codes or tutorials they can get me at kingof@europe.com
thanks
16 saravanan // Nov 17, 2009
how to create antivirus with vb6
17 dielan44 // Nov 17, 2009
Hey guys, I know how to make a crc32 scanner, with real-time, but I need a list of virus crc32’s! Please help!
Leave a Comment