Login | |
|
 |
RE: How to do a wait timeout in VB Script? - 11/1/2005 5:36:35 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
Wscript.Sleep 10000 '10 sec. time-out
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: How to do a wait timeout in VB Script? - 11/2/2005 2:30:10 AM
|
|
 |
|
| |
ebgreen
Posts: 5069
Score: 31
Joined: 7/12/2005
Status: online
|
Are you doing this within a webpage? If so then WScript.Sleep is not available.
|
|
| |
|
|
|
 |
RE: How to do a wait timeout in VB Script? - 11/2/2005 2:47:25 AM
|
|
 |
|
| |
ebgreen
Posts: 5069
Score: 31
Joined: 7/12/2005
Status: online
|
Aah...that may have the same restrictions on WScript...I'm not sure.
|
|
| |
|
|
|
 |
RE: How to do a wait timeout in VB Script? - 11/2/2005 3:12:05 AM
|
|
 |
|
| |
ebgreen
Posts: 5069
Score: 31
Joined: 7/12/2005
Status: online
|
Try posting the code that you have now and point out where you wan the pause to be.
|
|
| |
|
|
|
 |
RE: How to do a wait timeout in VB Script? - 11/2/2005 5:48:09 AM
|
|
 |
|
| |
ebgreen
Posts: 5069
Score: 31
Joined: 7/12/2005
Status: online
|
The code does not automatically wait for the results? I have some code that does some pretty long (time wise) queries and it has always been synchronous for me.
|
|
| |
|
|
|
|
|