How to Make an Error Message that Will Shut Down Your Computer!

Really Fun!

james patel
Here i will teach you how to make an error message that actually shuts down the computer.

-First open up a standard exe project on visual basic.

-Then add a command button anywhere.

-Doubleclick the added command button to open up its code.

-Add this code:

lol = MsgBox("Enter Message Here", vbcritical, "Enter Error Title")

What it does is that it pops up a message box (msgbox) and what ever u typed it shows it. The vbcritical the error message noise that you get whenever you get an error.

-So far you should have this:

lol = MsgBox("A System32 error has occured, please contact microsoft immediately", vbCritical, "Fatal Error")

I used the sytem32 message and the title of the error was fatal error.

-Press the playbutton to make sure your code is right. If theres anything wrong, please post or comment me.

- When everything is all right, add these codes:
lol = MsgBox("This Computer Will be shut down in 10...", 16, "Fatal Error")
lol = MsgBox("This computer will shut down in 9 seconds...", vbOK, "Fatal Error")
lol = MsgBox("This computer will shut down in 8 seconds...", vbOK, "Fatal Error")
lol = MsgBox("This computer will shut down in 7 seconds...", vbOK, "Fatal Error")
lol = MsgBox("This computer will shut down in 6 seconds...", vbOK, "Fatal Error")
lol = MsgBox("This computer will shut down in 5 seconds...", vbOK, "Fatal Error")
lol = MsgBox("This computer will shut down in 4 seconds...", vbOK, "Fatal Error")
lol = MsgBox("This computer will shut down in 3 seconds...", vbOK, "Fatal Error")
lol = MsgBox("This computer will shut down in 2 seconds...", vbOK, "Fatal Error")
lol = MsgBox("This computer will shut down in 1 seconds...", vbOK, "Fatal Error")
lol = MsgBox("Your computer will now be shut down", 16, "Fatal Error")

This makes the victim seem thats its counting down till the shut down of the computer, which it actually is.

-Once again press play to make sure everything is going smootly.

-Now our final code to add is the shutdown computer code:
The code is:
Call Shell("Shutdown /s") 'to shutdown

- Thats pretty much it, now if you want to test it... remember if it goes correctly, your computer will shut down....

Enjoy Everyone and remeber to PROPZ!!!!!!!!

Here some other codes other then shutdown

Call Shell("Shutdwon /r") 'to restart
Call Shell("Shutdown /l") 'to logoff
Call Shell("Shutdown /a") 'to Abort

OK GUYS THATS THE END!!!

Hope you enjoyed!

Published by james patel

Well i am very educated. I love making money and anything that gots to do with money-making like this site. I am hoping to get alot of dough by using this site.  View profile

5 Comments

Post a Comment
  • Cruise7/28/2010

    a batch file

  • anonymous4/29/2010

    who do you chose the time it takes to shutdown???

  • AvOr12/15/2009

    How do you make it so it just counts down without you having to press "okay" or what ever, and it wouldnt shut down my computer

  • Anonymous2/11/2009

    how do u add a command button

  • Luke D4/7/2008

    Great! Thanks man I can't wait to do this a school :p

Displaying Comments

To comment, please sign in to your Yahoo! account, or sign up for a new account.