THE THINGS SHOWN IN THIS TUTORIAL ARE PROVEN TO WORK ON WINDOWS XP ONLY. I DO NOT GARENTEE IT TO WORK WITH ANY OTHER WINDOWS VERSION OR PROVIDER.This tutorial will explain how to make a fake error message like this.
With this tutorial, you will be able to make an error message just like that with a custom title, text in the box, the buttons you can press, and the picture!
The basicsFirst you need to open up notepad. Make sure 'Word Warp' in NOT selected. Go to 'format' and unchecked word wrap if it is checked. Then, copy and paste the following code into notepad....
- Code:
-
X = MsgBox("Text", 0+16,"Title")
You can replace Text with the text you want to be displayed in the box. You can replace Title with the title you want of the box. Do not worry about the numbers just yet..leave them as they are.
Now save it as you normally would....but instead, change it to this....
If for some reason you can't see pictures, all I did was change the 'Save type as' to 'All Types.' Then, at the end of the name of this file, I put .vbs
It is important you put .vbs next to the name and change the file type to all.
If you have done it correctly, when you click on the file we just saved, you should get and error message like this...
-------------------------------------------------
-------------------------------------------------Step 2- Going ADVANCEDWell now that we got the basics out of the way, you probably want to do stuff such as add more than one error message to one file, change the picture, or change the buttons. Well, if you do, then pay attention....
First we will start with the buttons and picture....
You see those two numbers that were in the code? 0 and 16? Well, that controls the picture and buttons. Bellow you will find some numbers you can replace with those to customize as your heart desires...
The left number controls the buttons. Here are all the alternate numbers you can put in.
0 - ok button only
1 - ok and cancel
2 - abort, retry and ignore
3 - yes no and cancel
4 - yes and no
5 - retry and cancel
The right number controls the picture. Here are alternate numbers you can put in.
16 - critical message icon
32 - warning icon
48 - warning message icon
64 - info message icon
NOW you probobly want to make it so that once you hit a button, you can go to another error messege. Well then listen....
It's actualy quite simple. All you have to do is.... put anther code directly under the first code....... yup. Thats all. You can do that as many times as you like. So once your done with one code, hit enter and do another! Lol. Unfortunalty, you can't make a different error messege for each button.... D: