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 6734007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:50:15+00:00 2026-05-26T10:50:15+00:00

I have several large files that I’m processing and I’m using the backgroundWorker1.ReportProgress(percent) to

  • 0

I have several large files that I’m processing and I’m using the backgroundWorker1.ReportProgress(percent) to report the progress as each file is finished. But now I want to have a second progress bar to report the progress for each individual file as it’s being processed (and resets for the next file). I can use the current byte position I’m reading from and divide by the total size of the file to get the progress in percentage. But how do I pass this value to progressBar2 if there’s only one ProgressChanged event?

  • 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-05-26T10:50:16+00:00Added an answer on May 26, 2026 at 10:50 am

    One way is to use BackgroundWorker.ReportProgress(Int32, Object) and pass whatever you want, in the userState parameter.

    Another is to simply know that when you’ve reached 100% on the first progress bar you need to increment the other bar.

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

Sidebar

Related Questions

I have several large csv files with thousands of columns that I need to
I have several csv's that look like this: I have several large text files
I have several fairly large XML files that represent data exported from a system
We have several .NET applications that monitor a directory for new files, using FileSystemWatcher.
I have several large Javascript files that I need to document/digg into. Unfortunately I
I have some large files (from several gigabytes to hundreds of gigabytes) that I'm
I have a fairly large program written in C. It spans several files, and
We have several fairly large JavaScript files embedded into a single script resources DLL.
I have a series of large, flat text files that I need to parse
I have large batches of XHTML files that are manually updated. During the review

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.