In this post I am going to teach you how to create a customised message box using Notepad. This is not the Simple Error Message Box that i posted in one of my previous article. In this message box you will be able to add some more buttons to make it more real. So just start learning and have fun! If you get any problem in tutorial, Just comment below.
SEE ALSO:
PART-1: Create Simple Customized Error Message
PART-3: Create Yes/No Error Message with Different Answers
Tutorial:
- Open Notepad and Paste below code into it.x=msgbox("Display Text",Number,"Display Title")
- Change the text Display Text with your message that will be shown in Message box and Display Title with the title that you want to give to your Message box.
In place of number type the Number of the buttons that you want to show in your error box.
For Eg: If you want to show 'Yes, No & Cancel' buttons then type 3.
More Buttons & Their Numbers:0: Normal message box1: OK and Cancel2: Abort, Retry, Ignore3: Yes, No, Cancel4: Yes and No5: Retry and Cancel16: Critical message icon32: Warning query icon48: Warning message icon64: Information message icon4096: Always stay on top of the desktop
- Now Click on File > Save As & Save the file as "anything.vbs"
Remember: Name can be anything but .vbs extension is must. Here i name the file as 'Message.vbs'.
- Save the file anywhere you want and Double click to open it and see your Message.
No comments:
Post a Comment