Tips & Trics

How to create Message box on Notepad

Spread the love

First open a notepad file, and enter below text on notepad.

 x=msgbox(“Message text “,1,” Message title “)

After Paste code you have to save Notepad file to .vbs extension. as below images

Below output images of Above code

Let’s see all code in briefs,

01.x=msgboxis the HTML code do not change it,

02.“Message text” is the message that you have to display any messages, you can write anything under “”.

03.Button is the type of message box that you have to display,

       it just few types of message box are below.

0: Normal message box

1: OK and Cancel

2: Abort, Retry, Ignore

3: Yes, No, Cancel

4: Yes and No

5: Retry and Cancel

16: Critical message icon

04.“Message title” is the Header message box image you write anything under “”.