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.
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