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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:08:41+00:00 2026-06-11T13:08:41+00:00

I need to have a progress bar in a popup window, while my main

  • 0

I need to have a progress bar in a popup window, while my main thread is doing some heavy calculations.
I’m using an Oracle API , all the heavy work is done calling 1 function of this API, so I can’t use the backgroudworker update becasue I don’t have the API’s code.
I tried to create a new form with an ProgressBar and a Timer, but the timer_Click event is never fired!!(???)

Any Idea??

  • 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-11T13:08:42+00:00Added an answer on June 11, 2026 at 1:08 pm

    while my main thread is doing some heavy calculations.

    Wrong. Never do any heavy calculations inside your main thread in a Windows application or your users will simply hate you.

    If your API doesn’t provide a way to report the progress then the best you could do is show some rotating animation while the calculation is in progress because you will not be able to know the exact percentage of work done. So put the calculation inside a BackgroundWorker, show some spinning animation before running the calculation (which should itself be done inside the DoWork event) and hide the animation once the work is done (RunWorkerCompletedEvent).

    The ProgressBar has a Style property that you could set to Marquee to emulate an infinite progression.

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

Sidebar

Related Questions

I have to create a progress bar in a webapp. I need a thread
I want to display a progress bar while doing some work, but that would
We have designed a Progress bar, using Jquery Ui. we need a program that
I have an interesting problem. I need to do a progress bar from an
I need to have a progress bar that responds to the percent complete of
On a site I'm making I need to have a progress bar, I found
How do I use a progress bar when my script is doing some task
Possible Duplicate: Jquery:: Ajax powered progress bar? I need to create some kind of
I have this progress bar and I need to make the value depending on
I need to have a progress bar that should have a text that indicates

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.