title: Delayed Execution In VB.NET
body: <p>I am in need to delay the execution of a line of code, say, by 5 seconds. But by doing</p>
  
  <p><code>System.Threading.Thread.Sleep(5000)</code></p>
  
  <p>the whole UI hangs and I don't want that to happen. Because I want to be able to display something in a Window that a user will be able to see. Does anyone know of an alternative of achieving this? </p>
  
  <p>Thanks!</p>