What is the equivalent to the Wscript Sleep Method in VB?

R

Richard C.

Windows Script Host
Sleep Method
Suspends script execution for a specified length of time,
then continues execution.

I want to do this in visual basic. Can anyone tell me how?
 
W

William Ryan

Thread.Sleep(someInt) 'Where someInt is the number of milliseconds you want
the pause to happen for.
 
H

Herfried K. Wagner [MVP]

Richard C. said:
Windows Script Host
Sleep Method
Suspends script execution for a specified length of time,
then continues execution.

I want to do this in visual basic. Can anyone tell me how?

'System.Threading.Thread.Sleep'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top