WScript.Sleep for HTA?
- From: "McKirahan" <News@xxxxxxxxxxxxx>
- Date: Thu, 14 Apr 2005 08:37:45 -0500
I've got an HTA that does a bunch of database processing
during which I update a <textarea> with progress messages.
Timestamped messages are added at the top if the
<textarea> (so they don't scroll out of site).
It appears that it isn't updated when the Sub is called.
Is there an equivalent to one of the following that I could use?
WScript.Sleep (WSH), Response.Flush (ASP), DoEvents (VB).
Basically, I use:
Call doStatus("Progress.")
Sub doStatus(what)
document.formHTA.Status.value = Now & what & vbCrLf & _
document.formHTA.Status.value
End Sub
<form name="formHTA">
<textarea name="Status" cols="50" rows="8" readonly></textarea>
</form>
Thanks in advance.
[ I posted this yesterday with the (incomplete!) Subject of "HTA"
in the microsoft.public.inetserver.asp.components newsgroup. ]
.
- Follow-Ups:
- Re: WScript.Sleep for HTA?
- From: Clay Calvert
- Re: WScript.Sleep for HTA?
- From: mayayana
- Re: WScript.Sleep for HTA?
- From: Joe Fawcett
- Re: WScript.Sleep for HTA?
- Prev by Date: Re: Event Log Entries (finding oldest entry)
- Next by Date: Re: Copy only newest file in directory
- Previous by thread: Using Environment.GetFolder in VBS
- Next by thread: Re: WScript.Sleep for HTA?
- Index(es):
Relevant Pages
|