0% found this document useful (0 votes)
21 views1 page

Asdasfd

This document describes how to write code for a message box in Visual Basic Script, including options for buttons and icons that can be used. The code uses the MsgBox function and allows customizing the buttons shown and icon displayed through numeric parameters.

Uploaded by

xNo 7e
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views1 page

Asdasfd

This document describes how to write code for a message box in Visual Basic Script, including options for buttons and icons that can be used. The code uses the MsgBox function and allows customizing the buttons shown and icon displayed through numeric parameters.

Uploaded by

xNo 7e
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Write this code first-

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

1. You can write any number from 1,2,3 or 4 instead of 0 (before the '+' symbol)
Below is the meaning of these numbers:

0 = OK Button,
1 = OK / Cancel Button,
2 = Abort / Retry / Ignore Button,
3 = Yes / No / Cancel Button,
4 = Yes / No Button,
5 = Retry / Cancel Button

2. You can write 32 or 48 or 64 instead of 16.


Below is the meaning of each number:

16 = Critical Icon,
32 = Help Icon,
48 = Warning Icon,
64 = Information Icon,

.vbs

You might also like