Powered By Blogger

domingo, 21 de noviembre de 2010

How to make a message box

Last week I discovered how to create windows warning very easy and fast, and I made a joke to my brothers into thinking that the PC had been infected by a virus. Haha, I laughed a lot when I saw to their faces! Then I sent the allegedly infected file to a friend and I also laughed a lot when he opened it!

If you want to know how I did it, follow the instructions in this blog and you will get your purpose.

First: Open the Start menu, Run (ejecutar), and write: Notepad. This opens the notebook.
Second: In your notebook write the following: 
x = msgbox ("Your message text here", 6 +16, "Message") 
Among the quotation marks write the text you want to scare the victim. The numbers mean different icons in the alert window and give us different options (for example, accept, Yes, No, Retry ...) Try different numbers for different icons and options.

For example: x = msgbox ("There has been a critical error in the operating system. Location of the Damaged files: C: \ windows% system% commands_e4/microsoft/data% error. The computer Must Be Destroyed. Please, tell Microsoft about this error for more information. E-mail Address: hahathisisajoke@msn.com ", 48 +0," VIRUS ALERT ")


Something like this:












(click to open in a better view)


This message is sure to scare a lot.

Third: go to "File" ,"Save As", and select a location easy to find, for example, the desktop.
Save it with a catchy name for the user, for example, my secret photos, but always ending in
.vbs (important).

We would read like this: MysecretPhotos.vbs

Once completed, we go to open the file in the desktop MysecretPhotos.vbs

We will open a window with the message you have written.

Everything is ready for the joke. Send to a friend by e-mail!