[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 835
  • Last Modified:

VB.net equivalent to VB 6.0 "doevents"

Hi,

Is there a VB.NET equivalent to the VB 6.0 "Doevents"?

I want to release control periodically while I am looping so that I can  allow cancel requests, etc

Thank you,

Chris Schene
0
Christopher Schene
Asked:
Christopher Schene
1 Solution
 
juravichCommented:
application.doevents
0
 
SStoryCommented:
If you are using 2005  you may want to check out the BackgroundWorker component.  It may be that you want to use this to run the job in a seperate thread. It has a way to report progress back to the main thread via events.  It gives you multithreaded programming capabilities without the headaches.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now