Download Article
Download Article
This article will show you how to program your own error message on your Windows to pop up whenever you open a certain file. No internet required, and the only program you need is Notepad, which should come pre-installed when you buy your computer. Have fun!
Steps
-
Open Notepad (Start>Programs>Accessories>Notepad).
-
Copy and paste the following text into the program: lol=msgbox("",16,"Error")Advertisement
-
In between the two adjacent quotation marks, type the error message you wish to appear in the popup (eg. lol=msgbox("Example",16,"Error")).
-
Click File>Save As.
-
In the 'Save type as' dropdown, change the setting from 'Text Documents' to 'All files'. Then, as your file name, type your file name (when you open the file, it will trigger the popup), followed by '.vbs' (eg. Example.vbs). Then, in the 'save in' dropdown, select a place where you can access your file. When you have selected your desired place to save the file, click 'save' to save your file.
-
Open 'My Computer' (Start>My Computer) and find your newly-created file.
-
Open the file, and your error message should pop up on the screen!
Advertisement
Expert Q&A
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
About This Article
Thanks to all authors for creating a page that has been read 66,485 times.
Advertisement