HTA using vbscript
Posted on 2004-09-28
I am putting together an HTA that uses vbscript for running task on Active Directory. I have one task that creates a new user, assignes all standard properties for our domain, and creates the new users home directory folder. I want to put a status message on the page that will show what the task is currently doing. I found a vbscript file that creates an Internet explorer window and displays defined messages as the process runs but this only works from a command prompt. After decifering the script I see that it is using the wscript.sleep * command to designate the process to pause for * milliseconds, this give the interface a chance to refresh and display the message. Is there any way to access this from inside the vbscript in a hta application? If no is there anything else that can be used to give the same effect?