title: what is function that i can use instead of Do events (used in vb6.0) in (vb2010)
body: <pre><code>for a=0 to 1000
  lable.text=a
  next
  </code></pre>
  
  <p>Above loop does not update the  text status of <code>lable</code>, while loop is running, it updates only at the end of for loop, but I tried with vb6.0 it is possible by using Do events. But I don't know what is the function in VB2010 beta 2.</p>
  
  <p>Any ideas on how to implement this loop in VB2010?</p>