Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7921695
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:40:57+00:00 2026-06-03T16:40:57+00:00

I have several reports that all merge onto the same datatable. The user can

  • 0

I have several reports that all merge onto the same datatable. The user can click several to run and then hit the ‘find records’ button to run them all simultaneously. Since they each take so long, I’d like to update the user on the status bar as each of these stored procedures is called successfully. However, when I call the procedure, I only get one update at the very end listing everything.

What I’d like to do :

'Initialize Progress Components
repCompleted = 0
ProgressBar1.Minimum = 0
ProgressBar1.Maximum = repSel
ProgressBar1.Value = repCompleted
TextBlock2.Text = repCompleted & " of " & repSel & " reports finished"

Then as each report gets successfully run, update the repCompleted value and refresh

repCompleted += 1
TextBlock2.Text = repCompleted & " of " & repSel & " reports finished"
ProgressBar1.Value = repCompleted

The problem is that these refreshes don’t happen until I’ve exited the sub. I’d like it to count forward as each one finishes i.e. 1 of 4 completed, 2 of 4 completed, etc.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:40:58+00:00Added an answer on June 3, 2026 at 4:40 pm

    If your process is running in the foreground (not the background), it blocks the UI. You have to run it in the background so your UI gets free to do something else (like updating your progressbar). Take a look at the BackgroundWorker class, it lets you do exactly that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have several reports that do the same formatting operations (e.g. displaying PASS or
I have a page that the user can modify. All modifications are performed using
I am working on several reports all of which have similar layouts I would
Scenario You've got several bug reports all showing the same problem. They're all cryptic
In my environment, I have several projects that involve running NTFS ACL audit reports
Assume I have several Views in my WPF application that all show a report,
I have several textboxes where users can enter information into them. This can include
We have a medium sized application that depends on several usercontrols, namely: A tablelayout
I have several MS Access queries (in views and stored procedures) that I am
I have a bunch of SSRS 2008 reports which I'd like to run on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.