Searching...
Saturday, March 12, 2011

make message box with notepad

On Error GoTo Err 'to go to Err if error occured
MsgBox "Write your messahe here without replacing quotes", x, "Title here without replacing quotes"
'and x is:
'- vbOKOnly to create OK Dialog Box
'- vbOKCancel to create OK and Cancel Dialog Box
'- vbRetryCancel to create Retry and Cancel Dialog Box
'- vbCritical to create Critical Message Dialog Box
'- and many more that you can find yourself

Err:

'- You can copy all the text after modify 'x' and copy to Notepad
'- Save the file with *.vbs extension

0 comments:

Post a Comment

 
Back to top!