Create an Error Message Box in Notepad

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
18,982
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 26, 2010

Have you ever wanted to try scripting in Notepad? Well, here's your chance to! I'll show you how to create a simple error message box, only with the use of Notepad. This works in Windows XP, Vista and 7. Here's the code you will need to put in -

X=MsgBox("Message Description",0+16,"Title")

Here's what the numbers mean -

Number before the + =

0 = Ok Button
1 = Ok/Cancel Button
2 = Abbort/Retry/Ignore button
3 = Yes/No/Cancel
4 = Yes/No

Here are what the numbers mean after the + =

16 - Crtitcal Icon
32 - Warning Icon
48 - Warning Message Icon
64 - Information Icon

To create multiple Message Boxes, just duplicate the line

ENJOY!

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:
see all

All Comments (126)

Sign In or Sign Up now to post a comment!
  • @Lazy_.People Just copy this code instead...

    X = MsgBox("Message here",0+48, "Window title")

  • @MrMario8955 Try just copying and editing this instead...

    X = MsgBox("Message here",0+48, "Window title")

  • @Mrfreeze401 Then you either made a horrible error in the script or you should seriously update your drivers..

  • @theowenmcgrillz Maybe you should get "Microsoft Visual Basic Studio 2008 Express edition".

  • @pizza9290 ohh... thanks for the tip!

  • can anyone help me with a more advanced version of this?

    is it possible to have the yes/no and exit button blurred out so you cant click them exit the message?

  • Do this to make it not cross of:

    do

    X = MsgBox("Your message here",0+16, "Title over here")

    loop

  • @FruitLover216 It means the script isn't right, Check the script for NO errors and mispells.

  • @clubconsoles its just 48

  • hide the vbs and make it a short cut then you can change the icon of the short cut or just change the location thingy on a shortcut that is already made

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more