User:GabeNowell/How to create a Windows VBS message box
Appearance
Computer trick - How to make error pop up windows
Hello. In this guide I am going to show you how to create a message box in Windows.
Create a file with this text in Notepad, and save it with .VBS extension, after which it can be opened:
example=msgbox ("Text goes here" ,0, "Title goes here")
Numbers
[edit]- 0: OK Button
- 1: OK and cancel button
- 2: Button, Try again and Ignore button
- 3: Yes, No and cancel button
- 4: Yes and No button
- 5: Try again and cancel button
- 16: X icon
- 32: ? icon
- 48: ! icon
- 64: i icon
The numbers are a bit mask which can be added up using a plus sign ("+").