well in my newsgroup reader the .Net answer wasn`t showed i see now that
this was on a seperate thread
about the vb6 thingy
afaik this can only be done like this
Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
Private Sub Command1_Click()
Me.Caption = "Your system will sleep 5 sec."
'Sleep for 5000 milliseconds
Sleep 5000
Me.Caption = ""
End Sub
Private Sub Form_Load()
Me.Caption = ""
Command1.Caption = "Sleep ..."
End Sub
regards
Michel Posseth [MCP]
"CMM" <cm*@nospam.com> wrote in message
news:OD**************@TK2MSFTNGP11.phx.gbl...
VB6?
The .NET answer had already been posted. I was asking about the OT
mentioning VB6.
--
-C. Moya
www.cmoya.com