Reputation: 2255
In VBScript, I know I can use MsgBox(prompt[, buttons][, title][, helpfile, context]) to display a message box.
But I hope to display a prompt message for several seconds, then the prompt message will disappear automatically, just like the android code ablow
Toast.makeText(getApplicationContext(),"Will Do..." ,Toast.LENGTH_SHORT).show();
Upvotes: 2
Views: 4467
Reputation: 1
If you want to make a VBScript message box, two more factors needed: - Icon - Title
So if 16 = X icon, 32 = ? Icon, 48 = ! Icon, and 64 = i Icon,
X=MsgBox("Will do...",ICON,"TITLE")
For the title, probably do your program name. As for the icon, 64 is probably good.
X=MsgBox("Will do...",64,"Program Name")
Upvotes: 0
Reputation: 200313
Use the Popup
method for that.
CreateObject("WScript.Shell").Popup "Will do ...", 5, "Title", vbOKOnly
Upvotes: 4