Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


similar DoEvents for client-side VBScript?

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,490
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> similar DoEvents for client-side VBScript?
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 similar DoEvents for client-side VBScript? - 11/16/2001 1:31:54 PM   
  stuarttw

 

Posts: 2
Score: 0
Joined: 11/16/2001
From: USA
Status: offline
I realize DoEvents isn't supported client-side with VBScript, but is there anything I can do to FORCE my controls on my webpage to be updated while a for loop is being done. Currently, the update to the controls (even though they are inside the loop) only get updated AFTER the for loop is complete. I finally realized it's because the for loop is using an Outlook process and isn't updating my form controls until the process is complete.

The ultimate goal is to display a progress counter on the page by using VBScript (client-side) to update the text in a form to say XX of YY completed (where XX is being updated by each increment through the loop). I'm not getting errors, and if I put a msgBox in the loop before each update to my controls, then the form controls are visibly updated. But without the msgBox to pause the outlook process in the loop, the controls don't get updated until it's complete. FRUSTRATING!

Any help would be appreciated!
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> similar DoEvents for client-side VBScript? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts