Solved

Background Processing

Posted on 2013-11-03
3
390 Views
Last Modified: 2013-11-03
Trying to write an application using visual basic and I'm having a problem getting the following to work.

How do you run a block of code and update an item on the form (for example, encounter) without using Application.doevents()?
0
Comment
Question by:Ray Turner
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 63

Accepted Solution

by:
Fernando Soto earned 500 total points
ID: 39620426
Hi rgturner;

You can use a BackgroundWorker object to execute the block of code. Please see the BackgroundWorker class, at the bottom of the page is examples of how to use it. Any questions please post here.
0
 

Author Closing Comment

by:Ray Turner
ID: 39620496
Thanks!!!  This is cool.  I did not know this existed.
0
 
LVL 63

Expert Comment

by:Fernando Soto
ID: 39620655
Not a problem, glad to help.
0

Featured Post

Independent Software Vendors: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question