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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:08:52+00:00 2026-06-13T04:08:52+00:00

How should I know if an application is working or processing something? Lets say

  • 0

How should I know if an application is working or processing something? Lets say that I’m trying to write a huge data into a file, on that time the application is not responding. I want to know the application current status.

  • 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-13T04:08:53+00:00Added an answer on June 13, 2026 at 4:08 am

    Use BackgroundWorker componenet to process huge data in background thread. Notify user about progress via ProgressChanged event.

    Sample:

    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            backgroundWorker1.WorkerReportsProgress = true;
        }
    
        private void WriteDataButton_Click(object sender, EventArgs e)
        {
            backgroundWorker1.RunWorkerAsync();
        }
    
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
             for (int i = 1; i <= numberOfIterations; i++)
             {
                 // write part of data
                 backgroundWorker1.ReportProgress(i * 100 / numberOfIterations);
             }    
        }
    
        // This event handler updates the progress. 
        private void backgroundWorker1_ProgressChanged(
                    object sender, ProgressChangedEventArgs e)
        {
            progressBar1.Value = e.ProgressPercentage;
        }
    
        // This event handler deals with the results of the background operation. 
        private void backgroundWorker1_RunWorkerCompleted(
                    object sender, RunWorkerCompletedEventArgs e)
        {
            MessageBox.Show("Huge data was written");
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that a command line application should return 0 on success. But are
I know that the reminder application should display a badge or sound or kind
this is probably something I should know, but I'm puzzled by this. I'm trying
I am currently working on a WPF application that processes data in a database
I am working on application which should go into android 2.2(Froyo) and android 2.3(GingerBread)
First you should know I have looked into many questions and none of them
There are many things that all programmers should know, but I am particularly interested
This is something stupid I probably should know, but Googling fails me: When compiling
With this code I can download the file but I should know the file
I working on an application for processing document images (mainly invoices) and basically, I'd

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.