Filled Under: , , ,

Create Yes/No Error Message With Different Answer

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.

                                    Create Yes/No Error Message With Different Answer

SEE ALSO:

PART-1: Create Simple Customised Error Message

PART-2: Create Error Message with Different Buttons and Icons

Tutorial:

  1. Open Notepad.
    Right Click > New > Text Document
     
  2. Copy and Paste the code below into Notepad. (See Image Also)

    a=msgbox("Your Yes/No Question" , 4+16 , "Box Title")
    if a = vbyes then
    b=msgbox("If yes is clicked" , 0+16 , "Box Title 1")
    else
    c=msgbox("If no is clicked" , 0+16 , "Box Title 2")
    end if
                             
                     Create Yes/No Error Message With Different Answer
     
  3. 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
     
  4. Now Click On File > Save As.
     
  5. Save the file as anyname.vbs [Name can be anything but .vbs extension is important]
    For Example, message.vbs 
  6. Double Click the File to open it and Click on Yes/No to see the effect.

    Create Yes/No Error Message With Different Answer              Create Yes/No Error Message With Different Answer

Creating a Prank Using this Trick:

  1. 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


                       Create Yes/No Error Message With Different Answer

      
  2. 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
     
  3. Now whenever your friends or someone Log-on to your windows. He/She will see this error message.(See Images Below)

                     Create Yes/No Error Message With Different Answer

    Create Yes/No Error Message With Different Answer   Create Yes/No Error Message With Different Answer
     
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.


Advertisement
If you want more tricks delivered to you for free then you can join our Free Email Newsletter. You can also join us on Facebook and Twitter to get our latest posts in your feed.

0 comments:

Post a Comment

Have anything to add in this article? Just Comment below. Your comments and views are always appreciated.

For Off-Topic Help please refer to this page: http://www.windroidtricks.in/p/help-support.html