PDF download Download Article PDF download 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!

  1. lol=msgbox("",16,"Error")
    Advertisement
  2. lol=msgbox("Example",16,"Error")).
  3. 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.
  4. 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

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 11 people, some anonymous, worked to edit and improve it over time. This article has been viewed 70,608 times.
How helpful is this?
Co-authors: 11
Updated: June 3, 2024
Views: 70,608
Categories: Windows
Thanks to all authors for creating a page that has been read 70,608 times.

Is this article up to date?

Advertisement