Quote Originally Posted by Niya View Post
This is a more compact equivalent:-
vbnet Code:
  1. Threading.Thread.Sleep(d * 1000)
You can't use Thread.Sleep in a background worker (or at least you couldn't last time I looked into it ... I doubt that it's changed, however).