Wednesday, March 18, 2009

How to Make a Fake Error Message on Windows?

This is just a funny prank to pull on your friends using VBScript. You make a fake error message that has a message on it.

Steps:

  1. Open Notepad. The quickest way is to press WIN-R, and type "notepad.exe" without the quotes.
  2. Copy and Paste the following code:lol=msgbox("Your Message Here",16,"Your Title Here")
  3. Change Your Message Here to a message, and change Your Title Here to whatever you want to show on the Title Bar. I recommend using Error as a title.
  4. Go to File-Save as... and select All Files in the Save as type: and save the file as *.vbs and you're all done!
  5. Just double-click on the .vbs file and the error will pop up!
Tips:

  • To make more than one window, add another line of code; for example: lol=msgbox("Your Message Here",16,"Your Title Here")
    lol=msgbox("Your Message Here",16,"Your Title Here")
  • This will make a second error message after someone clicks OK on the first message, and so on. This can get really annoying if you type the same code repeatedly. You will get repeated errors.
  • To make this error message more powerful  and to make it open every time someone logs in, copy it to Start-All Programs-Startup.
Warnings:

  • Don't add a million lines of code, because this is hard to abort once started.




Thanks to www.wikihow.com for the material. If any of these posts are offending any copyright policy, you can kindly leave a comment. Steps will be taken immediately.