Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error With WScript.Sleep
Message
From
02/11/2005 09:40:30
 
 
To
All
General information
Forum:
Visual Basic
Category:
VBScript
Title:
Error With WScript.Sleep
Miscellaneous
Thread ID:
01064452
Message ID:
01064452
Views:
71
Why I got an error on line code WScript.Sleep in my ActiveX task (local package)? I use Windows XP Pro. I need a wait timeout because sometimes the result of my ADODB recordset is not filled before the next line of code.

set rs = CreateObject("ADODB.Recordset")
set rs.ActiveConnection = cn
rs.Open sqlLookup, cn, adLockReadOnly
***
*** need wait timeout here ***
***
if not rs.Eof then

end if
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Reply
Map
View

Click here to load this message in the networking platform