This article will show how to make a simple, fake computer error message. These message boxes are 100% harmless, and make for funny pranks. They will display any text you want them to.
- Windows XP/Vista/7
Step 1 Typing in the Code
First, open Notepad, and type in the following:
x=msgbox("Your message here" , 0+16 , "Box name here")
Step 2 Writing Your Message
Then, replace "Your message here" with whatever you want it to say, but leave the quotation marks.
Also, replace "Box name here" with what you want the box name to be. Again, leave the quotation marks.
Step 3 Saving the File
Once you have finished step 2, save the file as:
You can replace "filename" with whatever you want, but remember to save it as a .vbs file.
Step 4 Result
Double click the file and this should pop up. It should look like this, but with your message and box name on it.
Step 5 How to Prank Someone With This
1. Put the fake virus file on a flash drive. Then, plug it in to a friend's computer.
2. Go to their desktop and right click anywhere. A list of options will pop up.
3. Select "New" then "Shortcut"
4. It will then prompt you to selct a file to make a shortcut to.
5. Click "Browse" and find your flash drive. It will be under "Computer".
6. Open it and select the fake virus and click OK.
7. Click "next", then "Finish".
8. On the desktop, right click the icon. Select "properties" from the list.
9. Then click on the "Change Icon" button near the bottom. Look for and select the Internet Explorer icon. Click "OK".
10. Now rename the file to "Internet"
11. Delete their other Internet icon and replace it with the error message one. (Which now looks just like the Internet icon.)
When your friend clicks the icon wanting to surf the web, he will receive your fake error message instead.
To get the real Internet icon back, simply restore it from the recycle bin.
- Make you sure copied everything correctly.
- There is a space before and after both commas.
- Make sure you saved the file as .vbs
- Do not remove the quotation marks when you type in your message and box name.
- The 0 and 16 have a purpose. The zero sets the OK button, and the 16 sets the red symbol with the X on it.
- Try replacing the 0 with any number from 1-5 and the buttons will change. For example, replacing 0 with 4 will change the OK button to Yes and No buttons.
- Replacing the 16 with any of the following numbers will change the symbol. These numbers are: 32, 48, and 64.
- Do not email these types of files; they can be mistaken for a virus.
- Only use this on people you know. Do not email these.
Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.