Posts

Showing posts with the label VBscript msgbox

VBScript To show a message box

Image
To show a Message box/Dialogue box :- 1.OPEN NOTEPAD 2.COPY THE CODE GIVEN BELOW:-  -------------------------------------------------------------------------------------------------      x=MsgBox("Enter your message",0,"Title of msg box")  ------------------------------------------------------------------------------------------------- *Note : Here ,0, is the argument THE BUTTONS ARGUMENT SETTINGS ARE: Constants Value Discription vbOkOnly 0 Display Ok button only vbOkCancel 1 Display OK and Cancel buttons vbAbortRetryIgnore 2 Display Abort, Retry and Ignore buttons vbYesNoCancel 3 Display Yes, No and Cancel buttons vbYesNo 4 Display Yes and No buttons vbRetryCancel 5 Display Retry and Cancel Buttons vbCritical 16 Display critical message icon vbQuestion 32 Display Warn...