sleep simillar function.....

S

Sophia Smith

What is the statement in VB.Net 2003 to halt the excution of program? Like
sleep function in some programming languages.
Thanks,
Sophia
 
G

Guest

Hi Sophia,

You could use the Sleep function in the System.Threading namespace

///
Imports System.Threading
Thread.Sleep(1000) 'Halts execution of current thread for 1 sec
\\\

HTH
 

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