Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbscript pop-up that doesn't stall script 1

Status
Not open for further replies.

Phylum

IS-IT--Management
Aug 16, 2004
36
US
Outside of creating a chromeless window via HTABox, I'm curious to know if there's a way in vbscript to display a pop-up that doesn't stall the entire script. Both msgbox and popup stall the script until either a user intervenes, or, in the case of popup only, the timeout occurs.
 
I don't know of one. When I need such fucntionality, I just called another script that [tt]msgbox[/tt] what is passed in. Not sure why vbscript doesn't include an asynchronous msgbox.


call an "async popup"
Code:
objShell.Run "wscript.exe ""c:\some\folder\msgbox.vbs"" ""An Error has occured"" ", false

msgbox.vbs
Code:
set objArgs = wscript.arguments
msgbox objArgs(0)

-Geates

 
I had considered that but its not 'elegant'. I didn't want to have a collection of scripts like that floating around.
Sad to know there isn't an option to do this :(
Glad to know there isn't an option to do this :)

Thanks again Geates
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top