hi,
i have an hta app that uses vbscript. is there a way to pop a msg for 5 or 6 seconds? i know this can be done in vbscript using wscript.shell, but i'm not sure how to do it in hta.
thanks.
i have this code in vbscript. it works in vbscript, but when i put it in hta, it gives an error msg:
error: object required: wscript
Code:
set WshShell = WScript.CreateObject("WScript.Shell")
BtnCode = WshShell.Popup("this message will remain for only 5 seconds", 5, "Answer This Question:", 4 + 32)
i'm not sure wscript can be used in hta. is that right?
thanks.
[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.