![]() |
VBScript - Timed Message Box?
I am searching around on google and will continue to do so till i figure this out, but figured i'de post here as well.
Is there an easy way to script a MsgBox that is timed. Once the time is over, it will close itself. From what i've found i can do this through VB.net, but I can't find it for Script yet. Any suggestions would be greatly appreciated. I do know how to do the Msgbox command to get one to come up, but i can only do it with required user interaction. This is what I don't want. |
This is very similar to what you need to do, only instead of opening a msgbox when the time is up, open it at the beginning and close it at the end.
:
'************************************************************* taken from: http://www.codeproject.com/asp/webtimer.asp |
Melbolt, thank you very much. I'll go ahead and mess with that till I understand it completely, then modify to work the way I need! *thumbs up*
|
After reading through the ElseIf and making sense of it all i really like how they use it counts down. My problem is, I want the box to close automatically after 6 seconds without user interaction. More like a, "ok, things are working" and gone. I might be stabbing in the dark at something that doesn't exist. Also, i am probably not experienced enough to know all the internal functions or how to properly search them for the right key words. Once again, thank you for all the help.
|
Ok, found a link the directs me to using the PopUp method. This is bassically what it's saying to do.
:
Const wshYes = 6The rest of the information can be located at Linky! |
| All times are GMT -5. The time now is 8:01 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC