Fake Error Message

by JakeAS in Living > Life Hacks

2064 Views, 0 Favorites, 0 Comments

Fake Error Message

Untitled - Notepad 5_5_2020 3_21_12 PM.png

Hello, everyone. This Instructable tells how to make a fake error message with Notepad. Don't worry -- it's just fake; it won't damage your computer.

Copy and Paste Code

_Untitled - Notepad 6_5_2020 2_18_50 PM.png

First you must copy a code and paste it to Notepad. This is the code:

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

Customize

_Untitled - Notepad 6_5_2020 2_25_04 PM.png

Customize the buttons of your error. Replace "Button" with one of the following numbers:

0 - OK 1 - OK and Cancel 2 - Abort, Retry and Ignore 3 - Yes, No and Cancel 4 - Yes and No 5 - Retry and Cancel

Customize

_Untitled - Notepad 6_5_2020 2_28_21 PM.png

Customize the symbol of your error. Replace "Icon" with one of the following numbers:

0 - No Icon 16 - Critical Icon (a.k.a. "X" icon) 32 - Question Icon (a.k.a. "?" icon) 48 - Warning Icon (a.k.a. "!" icon) 64 - Info Icon (a.k.a. "i" icon)

Title

_Untitled - Notepad 6_5_2020 2_30_29 PM.png

Customize the title of your error. Replace "Your Title Here" with whatever you want the title to be.

Message

_Untitled - Notepad 6_5_2020 2_31_57 PM.png

Customize the message of your error. Replace "Your Message Here" with whatever you want to say in your error.

Save

_Untitled - Notepad 6_5_2020 2_34_49 PM.png

Click "Save As" and type in your title, followed by .vbs.

Done

Info 6_5_2020 2_37_00 PM.png

You can find your error in your Documents folder. Open the file to view it!