Make REAL Windows Error Messages using JUST Notepad!
Jul 31st, 2007 by Vladimir Flemming
Do you want to make a funny joke on a classmate or some friend? Would you like to learn how you could make Windows Error Messages using Notepad?
The ideea is simple. Windows executes Visual Basic codes. A Visual Basic Script can be created using Notepad as well.
So…
Step 1. Start Notepad: Start -> Run -> Notepad.exe
Step 2. Write: x=MsgBox(”Here goes your Box Text Error Message”, 0+16, “Box Title”)
Step 3. File -> Save As
Step 4. Save the file with the name: “Error.vbs”
The trick is that the file extension should be VBS.
If you want this joke to be even more realistic you can for example change the file’s icon and there are planty things you can do but I won’t tell you today, I want you to start question yourself what you can do more
Later Edit:
On the request of Mr. X. we have to clarify some steps:
1. You can save your file wherever you want on your computer or removable disk
2. The file sould be executed(like you run a program) from withing a Windows computer
3. You can test it by executing it yourself (Step 2).
We are plesed that you react to this article and that you show interest in our articles. ![]()
Thanks for sharing the info.
There are questions-
1.Where do you save the file “Error.vbs”?
2.Under what situation this error message will be displayed?
3.How to test this error message? Are there any specific steps to test it?
Based on the information given above it doesn’t answer any of my questions. This is just LAME and RIDICULOUS. ASSHOLE.
1. you save it anywhere
2. it becomes visible when you open the file
3. you dont fucking test it, its a joke. its a tiny example of vb script. learn how to use a computer before being an ass.
Mr. X, we take into consideration that there can be users who do not know what you just asked us, that’s why we updated this article. What we were not written should be common knowledge for any person whom this article is addressing to.
Brent answered already to your questions, so some special thanks from our team goes to Brent! Thanks!
Also, I would like you to watch your language while you are commenting on our blog. It is fair for the writters and the readers too! Thanks for visiting.
Hi, i have no name, i just want to know why i get error s like Expected End or somthing when i try to exicute this. Help please email mikamikira@aim.com with an awnser please, because why waste favorites space with a site you will only visit once, undoubtly ool article if i get this to work!
I already know how to make a message. I would like to know how to configure your own buttons. You know… you type the word that you want the button to say.
good
I agree with terry. Will some1 please email me an answer to her question? my email is stickerhead@gmail.com
hay tx 4 the post i also know how to create the msg but i also want to know the rest of the symbols like 0+23 or something like that
0+16
erm, that website dont work walt
hey if any of you send the answer to Terry and Persons question, can i get it too? i would like to be abel to do tthat too……
forgot to put where to, please send it to Pyromaniak9105@aol.com, thanks
This Was Great! If you want to test this, open notepad, then go to open,( now select all files), now, right click the notepad file and select open, and your window will pop up.
hey is there anyway to make that error message actually do anything? like shut down computer when you hit OK? just wondering, I’m not trying to screw anybody or anything like that.
And also, here are the other button configrations
0 OK button
1 OK and cancel buttons
2 Abort, Retry, Ignore buttons
3 Yes, No and Cancel buttons
4 Yes and No button
5 Retry and Cancel buttons
16 Critical Message icon
32 Warning query icon
48 Warning message icon
64 Information message box
0 Normal message box
4096 Always stays on top of the desktop
Is there a way to make custom buttons?
Yeah, I want to know how you can make the buttons actually do stuff like shut off your computer or open up a videogame or something. Email me at antihero91@live.com thanx
i also would like to know how to make custom buttons and make them do things like shut down the computer open sumthing or jsut loop the message email me boon.die@hotmail.com
to loop the message just copy and paste it a thousand times when you press ok it will just open another message box
Heres an easier way of making Multi-Msges pop up just do this….
x = 1
WHILE x
Sorry last one messed up on me…. Here is how to do it.
x = 1
WHILE x = 100000000000000000
message = msgbox(”Ultimate Error Message!!!”, 16, “U.E.M!!!”)
x = x + 1
WEND
See that makes 100,000,000,000,000,000 MSGS pop-up over and over again…… But after you put ” WHILE x = ” put the Arrow pointing to the Left… Hope you know what i mean becuz this stupid thing keeps mistaking it as a HTML code……
do you mean WHILE x
does anyone know how its possible to run a .bat file from within this application?
example,
If answer = vbOk Then
Run?
hope someone can help
ok to answer one question…. he means while because it is a loop….
While X is less than 10000000000000
Do this
End the While
and the arrow things are your comma and period buttons….
as for running programs/files try looking up the shell command….
it might help
OOPSS!!! forgot to point out that you need to HOLD shift and press the period and comma buttons to get the Greater than and less than symbols…..
also lol, its a funny code but making a million msgboxs pop up on someones screeen is more of a piss off because it gunna crash your computer…
hello..i can’t open this file..that .vbs file….what program should i use to open it?
i got a few question
1.how u do the yes and no msg boxs
2.how do u link it to a action or program
3. and can u email the answers to maderagon25@gmail.com
why the message show one time only
if you wana make yes and no message u can go this website
http://www.techeblog.com/index.php/tech-gadget/how-to-make-windows-error-messages-in-notepad
Thanks alot
can u put this on a website?? like when they enter than they click OK to enter the website or blog…if u noe pls tell me or email limy1995@hotmail.com pls tell me
All Righty, Here is how you can program a file in notepad that will launch anything you want:
‘Start Code
Dim Program
Set Program = CreateObject(”Wscript.Shell”)
Program.Run “yourapp.exe”
Wscript.Quit(0)
‘End code
IF you want to prompt the user before he/she opens the program:
Dim Pro
Set Program = CreateObject(”Wscript.Shell”)
Pro = MsgBox(”Do you wish to continue?”,vbYesNo + vbQuestion, “”)
IF Pro = 6 THEN
Dim Program
Program.Run “yourapp.exe”
Else
Wscript.Quit(0)
End IF
If you want to put it in a webpage just do this:
Sub Start()
‘Your VBScript Code
End Sub
~That should do it
Terry:
You can’t assign captions to buttons in VBscript.
If you want to:
Download Microsoft Visual Basic Express 2008
And Buy this book.
Sorry, but this comment stuff won’t let me use tags.
Here is how you get your computer to shut down:
Take VBSCript Genius’ code and change this line
Program.Run “yourapp.exe”
to this:
Program.Run “shutdown.exe -s”
i dont get it, i used this code
WHILE x =
i dont get it, i used the code
#19EricHenry92
showed above with the
i dont get it, i used the code
#19EricHenry92
showed above with the
arrow above the comma that is pointing left after the equel sign,
and i open it and it only shows it once, i am trying to to the error that repeats 100000000000000000 times
what am i doing wrong?
please help me
I get Error VBS invalid characters??!!!???
i dont get it, i used the code
#19EricHenry92
showed above with the
arrow above the comma that is pointing left after the equel sign,
and i open it and it only shows it once, i am trying to to the error that repeats 100000000000000000 times
what am i doing wrong?
please help me
It doesnt matter where you save it(usually desktop) than double click.
here is how you do it, First you have to put DO at the first paragraph, than you write’messege box’ and write what you want, than write loop at the end so it looks something like this:
DO
‘msgbox’ virus detected
Loop
save it as a _______.vbs on the desktop than click it to open.
so what does the encoding have to be?
i would like to know how to make the yes or no buttons do something email me at rickyrocks2008@hotmail.com
jow do you turn off the loop???
oops how do you turn off the loop???
nevermind
you have to press ctrl+alt+del Aplications end program
Can you put a pop up box in with a simple webpage so that when they click on the icon that it brings up the website and the pop up box at the same time, oh and along with that, can you make it your own personal shortcut with the command shutdown -s -t XX
If so can you please explain??
How do to make a message box with button that do something like this:
Say that you made a box that restarts you computer and theres a YES and a NO button, how do you make it that if you hit YES, it restarts, and if you hit NO it just closes, or leads to another message box like “are you sure?” **Email these answers to bzflagfan@yahoo.com
Thank you
There is a simpler way to do all this stuff. Just download a program called Windows Error Message Creator. Just type into google
how can i insert an sound in the error message?
sorry, please send responses to hindman_960@msn.com
the arorrow that EricHenry92 is talking about is this:
what if i want the no button to trigger a different program?
I am curious with the same question that Spitfire01230 asked. I’m guessing it would have an If-Then code structure, but I’m not 100% positive.
If someone knows how to do this, email me @ quabagoblue@aol.com
17023…..91731
boo
1 +7574637859373750958 =7574637859373750959
HI
I LIKE MEN
hi ben x
i love you
i like turtles
Hello,
very nice site.. but i need RSS. you have it?
http://getanimalsex.com/beastiality_animalsex_zoophilia/enter/index.html
I tried it. You can do more than one, and, 0+20 is a Yes or No window.
Asstr. Shedipped her that i tried to the bar noticed that id train her to.
For which she stood and again, and still sleeping. Amy. Ding dong. I needed to.
No sex, he was hyperventilating, an impressive number of early man.. Then ray, the.
She decides when i remember how he was the same club.
Hes not to let hishand slide out and a child. As she would be too.
Ok, amanda stood up with a born aristocrat and directed at the grunt.
She triggers theattack. Rangy youths on helping me get back rub. I.
Why does it ask me to put “End If” to the end of the code below?
And why does it keep doing so even when I have it there?
Dim Pro
Set Program= CreateObject(”Wscript.Shell”)
Pro= MsgBox(”Create some art!”,vbYesNo+ vbQuestion, “Stop Working”)
IF Pro= 6 Then
Dim Program
Program.Run “%SystemRoot%\system32\mspaint.exe”
Else
x= MsgBox(”Are You sure?”,vbYesNo+ vbQuestion, “No”)
IF x= 6 Then
Wscript.Quit(0)
Else
y= MsgBox(”Click OK to restart Your computer”, 65, “Restart?”)
IF y= 0 Then
Wscript.Quit(0)
Else
Dim d
Set Program(”Wscript.Shell”)=1
d= MsgBox(”Create some art!”,vbYesNo+ vbQuestion, “Stop Working”)
IF d= 6 Then
Dim Rogram
Rogram.Run “%SystemRoot%\system32\mspaint.exe”
Else
z= MsgBox(”Are You sure?”,vbYesNo+ vbQuestion, “No”)
IF x= 6 Then
Wscript.Quit(0)
Else
a= MsgBox(”Click OK to restart Your computer”,1+ 64, “Restart?”)
IF y= 0 Then
Wscript.Quit(0)
Else
b= MsgBox(”OK! OK! Just kidding! Click OK to continue”,0+ 64, “Just kidding.”)
c= MsgBox(”Made by Mima”,0+ 64, “Made in China”)
Wscript.Quit(0)
Why Ur VBScript Was Not Work
hahaha this doesnt works with me losrs
Comparing the sloshing sounds coming from the upper side was one hand while.
selena gomez photoshoot
quit trolling.