Monday, September 27, 2010

Make a fake Error Message on Windows

Posted by Patel Gopal On 12:53 AM 0 comments

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.


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!


Note: 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")

0 comments:

Post a Comment