BackgroundWorker Thread

  • Thread starter Thread starter Lou
  • Start date Start date
L

Lou

Ho can get my background thread sleep the _DoWork sub.
I have a loop in there doing some polling

Private Sub MyThread_DoWork()

Do
Get some data
Sleep here
Loop

End Sub
 
Ho can get my background thread sleep the _DoWork sub.
I have a loop in there doing some polling

Private Sub MyThread_DoWork()

Do
Get some data
Sleep here
Loop

End Sub

System.Threading.Thread.Sleep (milliseconds)

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

Back
Top