Bismark,
Sleep is a shared method!
Although its allowed, calling Shared methods on an instance variable can be
confusing!
For example:
Dim worker As New Thread(AddressOf Work)
worker.Start()
worker.Sleep(500)
Which thread is put to sleep, the current thread or the worker thread?
Hope this helps
Jay
"Bismark Prods" <tr*******@vtxnet.ch> wrote in message
news:c6**********@newshispeed.ch...
And maybe System.Threading.Thread.CurrentThread.Sleep(2000) too ?
Bismark
"Mike" <y1***@yahoo.com> a écrit dans le message de
news:93**************************@posting.google.c om... Hi,
How I can get access to current thread.
I want to pause it for some seconds.
MyThread.Sleep(2000)
Thanks