[Display Standard Output]
Wscript.Echo "Hello Samson"
[Display to Message Box]
dim Msg
Msg=MsgBox("Hello Samson!",0,"VBS Example")
0 = (vbOKOnly) Ok button only
dim Msg
Msg=MsgBox("Hello Samson!",2,"VBS Example")
2 = (vbAbortRetryIgnore) Abort, Retry, & Ignore buttons
dim Msg
Msg=MsgBox("Hello Samson!",16,"VBS Example")
16 = (vbCritical) Critical message icon
Set WshShell = Wscript.CreateObject("Wscript.Shell")
WshShell.Popup "Hello Samson!",, "WshShell Popup"
Set WshShell = Wscript.CreateObject("Wscript.Shell")
WshShell.Popup "Hello Samson!",3, "Close in 3 secs",16
3 = Number of seconds to close, 16 = Critical message icon
VBScript References Part 1...
Posted by
Samson J. Loo
Thursday, November 6, 2008
at
3:39 PM
Subscribe to:
Post Comments (Atom)
2 comments:
bro good work
bro good work
Post a Comment