How to Create Customized Popup Jokes to Prank Your Friends
By on November 7th, 2009

Have you ever seen this message on your PC?

joke-vbs-to-dumb-to-surf

I’ll put it this way, you’ll only see that message if I’ve had a little time to sabotage your PC while you had your back turned. Believe me, I love PC pranks and jokes. I’ve been doing them for years – just ask my friends at work. Read on and I’ll tell you how to create one of the easiest, but most flexible pranks.

The VB Script Prank
First, open up your Windows Notepad or your favorite plain text editor. Now paste in the following text.

MsgBox “Windows has determined that you may not be smart enough to surf the internet. Click OK if you are stupid!”, 0, “Error”

Now save the file as joke.vbs

Finally, double click the file to test it. You should see the same message box I displayed above.

How does it work?
The VBS in joke.vbs, stands for Visual Basic Script. As far as I know, every copy of Windows can interpret Microsoft Visual Basic scripts. Visual Basic scripting is a powerful programming language that can work miracles or destroy your hard work. In this prank, all it does is pop up a harmless message window. VBS by itself isn’t evil. It depends on who the programmer is. So when you use it, be very very careful.

Can you change the message?
Yes, it’s easy to tweak this prank. Here’s a template you can use.

MsgBox “***YourMessage***”, 0, “***MessageBoxTitle***”

You can replace the text ***YourMessage*** with your message. If you want to change the title that displays in the window’s title bar, you can change the text ***MessageBoxTitle***.

Be sure that you keep the quotes.

How can you make people click on it?
Let’s say someone you know uses a shortcut on their desktop to run Internet Explorer. We’ll replace their shortcut with our own prank short cut.

1. Move their shortcut and your joke.vbs file to somewhere in a folder on the PC.

2. On the desktop, create a shortcut to your joke.vbs file.

joke-vbs-shortcut-icon

3. Right click on the joke.vbs shortcut, select Properties, and choose the “Change Icon” button.

joke-vbs-change-icon

4. Now select the icon which looks like Internet Explorer.

joke-vbs-select-icon

5. Change the name of the shortcut to Internet Explorer.

joke-vbs-ie-icon

6. Get ready to laugh at them when they try to go surfing.

If you’d like to learn more about the VB MsgBox function, you can read about it at vbtutor.

Do you have any questions about jokes, pranks or programming? Do you have any ideas you’d like to share? Be sure to add a comment below or email me. I’d love to hear from you.

Tags:
Author: Clif Sipe Google Profile for Clif Sipe
Promoting Freeware and Free information since 2004. Owner of FreewareWiki.com with over 2000 pages of freebies. Please subscribe to my Google Feed or follow me on Twitter @clifnotes.

Clif Sipe has written and can be contacted at clif@techie-buzz.com.

Leave a Reply

Name (required)

Website (optional)

 
    Warning: call_user_func() expects parameter 1 to be a valid callback, function 'advanced_comment' not found or invalid function name in /home/keith/techie-buzz.com/htdocs/wp-includes/comment-template.php on line 1694
 
Copyright 2006-2012 Techie Buzz. All Rights Reserved. Our content may not be reproduced on other websites. Content Delivery by MaxCDN