Solved

Background Processing

Posted on 2013-11-03
3
394 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Generate Unique ID in VB.NET 21 136
Asp.Net Session Question 2 49
make control visible based off other control value 7 45
Excel Web Add-in Where is Visual Basic used 9 84
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

751 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