Monday, 6 February 2012

FUNNY VIRUS



Sometimes you just want to have fun with your friends. There are many computer pranks but here is one awesome trick to showoff  your friends that you’ve created a virus or you’ve virus in your computer ! Yes, that’s possible. Actually it’s just a regular message box, and not a real virus. So before we start, take a look at this final result :
117 Create a Fake Virus using Notepad !
It looks like a real virus, isn’t it awesome ?
Let’s start, open your Notepad and type this code :
X=MsgBox("Message Description",0+16,"Title")
Now save it as .vbs  files, make sure you select All types and the extension of your filename should be “.vbs”. for example, Game.vbs or My Computer.vbs.
Once you save it, open it up and you should get the pop-up message box.
This basic code tells the computer that when the following file is opened, it will display a fake error message box with the title as “Title” and the description as “Message Description“. But that can be changed so if you want to type a different title or description, go ahead.
This is a Visual Basic Code, which means you are able to type in Visual Basic Scripts using Notepad.
Anyways, the numbers in that code can be changed. Let me explain you the code:
X=MsgBox("Message Description",0+16,"Title")
Here,
Message DescriptionWrite some warning message you want to display (In above image the description is “iNiyant has killed your computer” ).
Title: you can write any title (in above image the title is “Virus Detected”).
The numbers: In above image 0+16 is used. Well, it is a combination of two different codes. You can write any numbers from 0,1,2,3,4 instead of 0 (before the ‘+’ symbol) and here is the meaning of each number:
0 = Ok Button
1 = Ok/Cancel Button
2 = Abort/Retry/Ignore button
3 = Yes/No/Cancel
4 = Yes/No
You can write any numbers from 16,32,48,64 instead of 16 (after the  ‘+’ symbol) and here is the meaning of each number:
16 – Critical Icon
32 – Warning Icon
48 – Warning Message Icon
64 – Information Icon
Now, if you want to create multiple Message Boxes, simply duplicate the line as shown below :
X=MsgBox(“Message Description”,0+16,”Title”)
X=MsgBox(“Message Description”,0+16,”Title”)
So this will display the message pop-up two times ! It’s really easy, but if you need more instructions, check out this video for step by step instructions including how to change the icon

No comments:

Post a Comment