Steps On Windows Fake Error Message Create

Asked By 0 points N/A Posted on -
qa-featured

I want to create a Windows fake error message for my application development work. I want to know how to do that. Guys please someone help me with this.

SHARE
Answered By 0 points N/A #299703

Steps On Windows Fake Error Message Create

qa-featured

To create a game error message-

  1. Open run and then type notepad
  2. Click ok to open notepad
  3. Copy and paste this- x=msgbox(“Your Message Here”, Button+Icon, “Your Title Here”)
  4. Customise your buttons by replacing button in the command
  5. Customise the icon by replacing it with your requirement
  6. Customise the title and content and save it as .vbs extension
  7. Double chick the file to display the error message
Answered By 590495 points N/A #326207

Steps On Windows Fake Error Message Create

qa-featured

If you want to prank someone or a co-worker with a fake Windows error, here’s one with a single error dialog. Start Notepad or any text editor application then copy and paste the following code:

x=msgbox(“Your Message Here”, Button+Icon, “Your Title Here”)

Customize the button in your error message. Replace without quotes “Button” with one of the following values:

  • 0 – this displays the “OK” button
  • 1 – this displays the “OK” and “Cancel” buttons
  • 2 – this displays “Abort”, “Retry”, and “Ignore” buttons
  • 3 – this displays “Yes”, “No”, and “Cancel” buttons
  • 4 – this displays “Yes” and “No” buttons
  • 5 – this displays “Retry” and “Cancel” buttons

You will have something like this:

x=msgbox(“Your Message Here”, 1+Icon, “Your Title Here”)

Next, customize the icon of your error message. Replace without quotes “Icon” with one of the following values:

  • 0 – no icon
  • 16 – critical icon (the “X” icon)
  • 32 – question icon (the “?” icon)
  • 48 – warning icon (the “!” icon)
  • 64 – info icon (the “i” icon)

You will have something like this:

x=msgbox(“Your Message Here”, 1+48, “Your Title Here”)

Next, customize the title and the contents of your error message. Replace without quotes “Your Title Here” with the title you want to use and without quotes “Your Message Here” with the message you want to display. You will have something like this:

x=msgbox(“This machine will explode!”, 1+48, “Warning”)

When you are finished, press Ctrl + S to save the file. In the save dialog, select “All Files” in “Save as type”. Enter the name of the file then put without quotes “.vbs” as extension name then save the file. For example, without quotes “warning.vbs”. To display the error message you created, just double-click the file.

Related Questions