This is the Third Part of 'Create Your own Customised Error Message using Notepad'. In this article i will teach you how to create an error message with a Yes or No question. Clicking on Yes or No will give different results. You can try this trick in your PC because this is harmless like our many other tricks.
SEE ALSO:
PART-1: Create Simple Customised Error Message
PART-2: Create Error Message with Different Buttons and Icons
Tutorial:
- Open Notepad.
Right Click > New > Text Document
- Copy and Paste the code below into Notepad. (See Image Also)a=msgbox("Your Yes/No Question" , 4+16 , "Box Title")if a = vbyes thenb=msgbox("If yes is clicked" , 0+16 , "Box Title 1")elsec=msgbox("If no is clicked" , 0+16 , "Box Title 2")end if
- Replace the highlighted text in code with your own Question, Answer & Titles.Change:
Your Yes/No Question - With the Question You want to ask
If Yes is Clicked - The Answer that Comes if Yes button is Clicked
If No is Clicked - The Answer that Comes if No button is Clicked
Box Title, Box Title 1, Box Title 2 - With the Title of the Box
- Now Click On File > Save As.
- Save the file as anyname.vbs [Name can be anything but .vbs extension is important]For Example, message.vbs
- Double Click the File to open it and Click on Yes/No to see the effect.
Creating a Prank Using this Trick:
- Change the text in the code above with: (See Image)
Box Title - Computer At Risk!!! 0x5527162
Your Yes/No Question - Windows have found some error in your System. Please Restart your Windows to solve this error. Do You want to Restart your Computer now?
If yes is clicked - Sorry!!! You have been fooled.. :D hahaha
Box Title 1 - You have been fooled. LOL
If no is clicked - Please Restart your Computer as soon as possible. You might be at risk.
Box Title 2 - Computer at Risk!!! 0x001243
- Save the file as prank.vbs & Copy the file to the start-up folder. Click Here to Know How to Locate Start-up folder in Windows
- Now whenever your friends or someone Log-on to your windows. He/She will see this error message.(See Images Below)
NOTE: This Trick is completely harmless.
If you need any kind of help related to this trick then comment below. Also Share your Prank ideas with us in Comments.
No comments:
Post a Comment