Yes, that problem was resolved by the addition of the last script there. This new script is also part of that HTA file. I really appreciate all your help. And just when I think I'm done with the program, "the upper management" will come up with something new so I'll probably be back with more on...
Can anybody tell me or give me an idea of why my WScript.Sleep is not working and giving out an error "Object required: 'WScript'" Here is my code, by the way this code is inside a HTA file.
<script language = "VBScript">
Sub Window_OnLoad
idTimer =...
Hello there!,, In addition to what I've done to this script, the new task is to force users to registered to the secury system. If they decide to close the window and not registered, then the script should log the user off the computer. So, my plan is to check if the window for registration is...
This is the code I added at the end and its working the way I wanted it to work. Thank you for all your input Geates.
<script language = "VBScript">
Sub Window_OnLoad
idTimer = window.setTimeout("PausedSection", 5000, "VBScript")
End Sub
Sub PausedSection
if...
I made the modifications to my code, but the code its grabbing the original page SRC and not the SRC after the redirection. In order for it to work properly I need to grab the SRC after the rederection occurs to that THANK YOU Page (if user has registered), maybe I need to call that fuction at a...
I have been requested some additional modifications to this code. The code is beeing used to check if a particular user is registered on a security system, if it hasn't completed the registration process the user is presented with a form, if the user has completed registration then a different...
That was a fast respond, thank you very much, i knew it had to do with passing parameters to functions but not a programmer here. thanks again Geates, it works!
What im trying to do is to grab the computer usermane (doing it with a VBscript in an HTA file) and appending the usermane to an Iframe src at the end. Im not sure how to pass the output from my VBscript to be used on the Iframe. here is my code
<head>
<title>HTA Tutorial</title>
</head>...
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.