Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Mon, 10 Sep 2007 00:36:02 -0700,    group: microsoft.public.inetsdk.programming.scripting.vbscript        back       


Check system is busy   
In VB to check system i put the following command

Do While .busy: DoEvents: Loop
Do While .ReadyState <> 4: DoEvents: Loop

How the same can be done in VB Script?  

Thank you.
date: Mon, 10 Sep 2007 00:36:02 -0700   author:   Vijay Kotian

Re: Check system is busy   
Vijay Kotian wrote:
> In VB to check system i put the following command
>
> Do While .busy: DoEvents: Loop
> Do While .ReadyState <> 4: DoEvents: Loop
>
> How the same can be done in VB Script?
>
> Thank you.

Assuming this is simple WSH hosted VBScript doing IE automation...

'...with block assumed
Do While .busy: WScript.sleep 10: Loop
Do While .ReadyState <> 4: WScript.sleep 10: Loop
'...end with assumed

-- 
Michael Harris
MVP - Windows Server Admin Frameworks
date: Mon, 10 Sep 2007 08:49:32 -0700   author:   Michael Harris \(MVP\) mikhar.at.mvps.dot.org

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us