Sleep ??? 
Author Message
 Sleep ???

Hi all,

Is there a sleep function in Visual Basic or a function performing the same task ?

Thanks in advance.

Regards

Vincent

-------------------------------------------------------------------
                    Vincent Darmstaedter
Universite Catholique de Louvain, Laboratoire de Telecommunications
        2, Place du Levant    B-1348  Louvain La Neuve
-------------------------------------------------------------------

Fax :  +32 10 47 20 89     http://www.*-*-*.com/
-------------------------------------------------------------------



Mon, 03 Dec 2001 03:00:00 GMT  
 Sleep ???
Sleep is sleep

Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Suspends current thread( in VB there is only one) for ... ms

Quote:

> Hi all,

> Is there a sleep function in Visual Basic or a function performing the same task ?

> Thanks in advance.

> Regards

> Vincent

> -------------------------------------------------------------------
>                     Vincent Darmstaedter
> Universite Catholique de Louvain, Laboratoire de Telecommunications
>         2, Place du Levant    B-1348  Louvain La Neuve
> -------------------------------------------------------------------

> Fax :  +32 10 47 20 89     http://www.tele.ucl.ac.be/PEOPLE/vd.html
> -------------------------------------------------------------------

--



Mon, 03 Dec 2001 03:00:00 GMT  
 Sleep ???

thoughts were released on Thu, 17 Jun 1999
11:46:06 +0200 bearing the following fruit:

Quote:
>Hi all,

>Is there a sleep function in Visual Basic or a function performing the same task ?

>Thanks in advance.

There is a sleep API

Public Declare Sub Sleep Lib "kernel32" Alias
"Sleep" (ByVal dwMilliseconds As Long)

Drac



Mon, 03 Dec 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. wscript.sleep 1 and wscript.sleep 2

2. How to create a sleep in an HTA (wscript.sleep doesn't work in HTA...)

3. Sleep 0 really puts NT4.0 to "SLEEP!" in VB5

4. Sleep 0 really puts NT4.0 to "SLEEP!" in VB5

5. Access "SLEEP" command

6. How to use Sleep method

7. VBA macro goes to sleep

8. How to sleep or delay?

9. Sleep in VBA

10. Sleep or DoEvents in VBA?

11. How to "sleep"

12. DoEvents or Sleep ?

 

 
Powered by phpBB® Forum Software