Getting a class to update a progress bar in the caller form

Suppose my form calls a class that does a lot of work.  The class could take 5 minutes to complete the job it is doing.  So every 20 seconds, perhaps, I would like the class to tell the form what percentage of the job is has completed, so that
I can update a progress bar.  Can this be done without my having to code a save of the state of the operation (going on in the class) and returning to the caller so that it can update the bar, restore the state and start things up again?
Thanks.

Do you use a BackgroundWorker or a seperate thread for the job? If not, the UI is frozen anyway.
Have a look here:
BackgroundWorker Class
Armin

Similar Messages

  • After updating to the latest version of Firefox on my Mac there is no progress bar for the page load. I really miss this feature and can't seem to find a way to obtain it.

    The page load progress bar that was on the lower right of the window is no longer there. After updating to the latest version of Firefox on my Mac there is no progress bar for the page load. I really miss this feature and can't seem to find a way to obtain it. The tab has a circular progress wheel but this is useless for determining a stuck or slow loading page.
    PLEASE NOTE: I am typing this in from a Windows based work computer but am asking about my Apple MacBook Pro that i use at home.

    Firefox 4 saves the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    You can use "Firefox > History > Restore Previous Session" to get the previous session at any time.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.<br />
    Another possibility is to use:
    * [http://kb.mozillazine.org/Menu_differences Firefox (Tools) > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • Installing adobe reader update, install progress bar stops at 30% and never restarts. [was: Downloading]

    Installing adobe reader update, install progress bar stops at 30% and never restarts.  IMAC yosemite 10.10.1

    Not sure if you mean installation or download, but here are some links to look at
    Quick fix | Install, download | Reader
    Install Adobe Reader X | Mac OS
    Troubleshoot Adobe Reader installation | Mac OS

  • Recently my MacBookPro locked up on startup. Could not get past a certain point of progress bar. I had upgraded to Yosemite few weeks back, with no issues. I ended up doing a Recovery with Time Machine and I got all my apps, photos, documents, etc. back o

    Recently my MacBookPro locked up on startup. Could not get past a certain point of progress bar. I had upgraded to Yosemite few weeks back, with no issues. I ended up doing a Recovery with Time Machine and I got all my apps, photos, documents, etc. back okay --- except I got error messages that my "registration for Photoshop (I use CS4 Extended) and Photo Mechanic are no longer working".  I worked on Photoshop first, and tried (several times) to fix it with their online help suggestions.  Nothing worked.
    Is there a simpler way to "get my licenses/registrations back"???  I am also going to contact Camera Bits about the Photo Mechanic issues.   Thanks

    Same problem and for months now. I haven't been able to find a solution, but I suspect that's because I don't know exactly what's wrong.

  • Lock the progress bar in the playbar (Captivate 8)

    I'm looking for a way to lock the progress bar in the playbar in Captivate 8. This has come up a few times in regards to older versions of Captivate, but I haven't seen anything for 7 or 8 yet.
    I've tried this: Captivate 6 Help me Lock the Progress Bar in the Playbar, which relates to ver 6, but seemed to kinda do what I'm looking for, but not exactly.
    However, the Playbar Lock Widget seems to do exactly what I'm looking for (Flash-Factor   » Playbar Lock Widget (Cp5, Cp5.5)) but is for 5 and 5.5 only. According to this threadCaptivate 6 playbar lock, the widget doesn't work on 6, so I assume it doesn't work on 7 or 8, either. I've emailed the developer (Whyves) the other day, but considering the last activity on that site was a couple of years ago, I'm not really expecting a response.
    Does anyone know if there is an easy-ish way to do this or if there is an updated version of this widget available?
    Thanks,
    Marc

    Lilybiri,
    Thank you very much for your response. I realize it was very unlikely that particular widget would be updated, but was hoping someone has since been able to make something like that work in Captivate 8 (or even Cp7).
    I am actually working on a project that must be completed in a linear fashion the first time through. It consists of three parts, with each part consisting of a short video presentation followed by a couple of knowledge check/quiz questions. Learners must correctly answer the questions before they can proceed to the next part, and should be able to review the video they just watched (or any previous video) at any time, but they must not be able to skip ahead to the next video until they've correctly answered the KC questions for each part, or to skip the video the first time through.
    Enabling remediation helps in that it allows learners to re-watch the video before and even during the knowledge checks without getting 'stuck' on a question they've answered correctly already. However, it seems that forcing a linear flow while still giving learners an idea of their progress through the course via a progress bar without allowing them to use it to skip ahead has proven very difficult to do.
    The widget seemed to perfectly fit the bill in that it would disable 'scrubbing' with the progress bar until learners completed the activity. Then, once they've completed it, they could now use the progress bar to review the material again if they wished.
    Oh, well... we'll keep digging and hoping that maybe someone out there with more knowledge and skill in this than us figures out a way to make it work.
    Thanks again!
    -Marc

  • I start the computer, there will be a progress bar in the walk, to go on automatic shutdown. What is the reason? How can I do?

    I start the computer, there will be a progress bar in the walk, to go on automatic shutdown. What is the reason? How can I do?

    Hold down Command-R to get to Recovery_HD, a special Volume on your Hard drive that has some Utilities and an Installer.
    Start Disk Utility.
    Select you boot drive and click "Repair Disk".
    Post any error messages.

  • My iPhone 4s is not switching on, I connected it to itunes thru my Windows 7 laptop and it says phone needs to be restored. I clicked okay and it started the process however the progress bar with the apple logo is on the screen, progressbar do not start

    My iPhone 4s is not switching on, I connected it to itunes thru my Windows 7 laptop and it says phone needs to be restored. I clicked okay and it started the process however the progress bar with the apple logo is on the screen, progress in the bar did not start yet after 5 hours. Some one please hep me.

    I did put it in DFU mode but its still not working, although everytime it shows your iphone needs to be restored. Kindly help.

  • How Do You Display The Rendering Progress Bar In The Windows Dock?

    Is there a preference/setting in Windows that allows you to display a rendering progress bar on the the app icon in the dock for AE the way Premiere does?

    No.
    Mylenium

  • Macbook opens slowly with progress bar below the logo

    macbook opens slowly with progress bar below the logo, what's happened can it be fixed and how Yosemite OS
    Thanks

    The status bar below the Apple logo in Yosemite is not a bug, its a feature. No need for a fix.
    The reason why your MB starts slowly shall be answered if we have more info on your MacBook (RAM, version, etc.)

  • German: Ich weiss nicht, Lade ich jetzt OS X Mountain Lion, ich sehe auch keine Anzeige, oder ein fortschritt Balken im App Store? I do not know, I load an OS X Mountain Lion, I see no indication, or a progress bar on the App Store?

    German: Ich weiss nicht, Lade ich jetzt OS X Mountain Lion, ich sehe auch keine Anzeige, oder ein fortschritt Balken im App Store? I do not know, I load an OS X Mountain Lion, I see no indication, or a progress bar on the App Store?

    com.kaspersky.kext.kimul.44     44
    com.kaspersky.nke   1.0.1d41
    com.kaspersky.kext.klif              3.0.0d23
    Uninstall the Kaspersky anti virus software. Instructions here > How to uninstall Kaspersky Security for Mac
    Then restart your Mac.
    Kaspersky has caused other Mac users kernel panics as well noted from the result of an Apple Support Communities search here.
    If you want to use anti virus software on your Mac, install Sophos (free) as recommended here.

  • How do I shut off the new colored progress bar under the address bar?

    In Firefox 7, there is now a small colored "progress bar" under the address url that loads with colored segmentation as a web page loads. While some might consider it helpful, I consider it both distracting and obnoxious. Can someone tell me how to disable this "feature" in about:config? I want to keep the colored granularixation of address sections, but there is no need for that to load as a colored every time a page loads. If I wanted rainbows in my browser, I'd create a Lucky Charms theme. I don't need this, thanks.

    I wish this was the case. This is a default action of Firefox 7, not a plugin. While I do want to replace the status bar one day, I have not used StatusBar4Ever to replace the late, lamented status bar as of yet. Unfortunately, this action is tied directly to the new colored segmentated address bar code. In version 5 and 6, he code was "unfinished" (or not fully implemented; take your pick), and as a result this thing never appeared. But in 7, the Firefox term prodly declaimed the feature "functional" and lo and behold, this problem arises! I do appreciate the suggestion, however.

  • Lock the progress bar in the Adobe Captivate 5.5 playbar.

    I recently read some interesting postings from cpguru website. One of them is how to lock the progress bar.
    (http://www.cpguru.com/tutorial-lock-the-progress-bar-in-the-adobe-captivate-playbar/)
    It says that we can lock the progess bar with simple three lines of AS2 code.
    this.stop();
    delete _root.cpPbcBar_mc.pbcBar_mc.pbcSlider_mc.onMouseDown;
    delete _root._level0.cpPbcBar_mc.pbcBar_mc.pbcSlider_mc.onMouseDown;
    I would like to use this code, but my captivate version is 5.5, which means
    I do need to have AS3 code. Is there anyone who already figure out how to do it with AS3?
    If so, could you give me some guidance.
    Sami

    Hi Sami,
    I am not sure if you would like to hide it or lock it.
    I can recommend you to use the a system defined variable and set it to hide the play bar on ceratin slides so it would not appear on those slide.
    Thanks!
    Anjaneai

  • I'm getting an error message updating PS6 perpetual license. The suggested fix recommends uninstalling and re-installing. I first installed as a download and have no product DVD. Where do I find a download?

    I'm getting an error message updating PS6 perpetual license. The suggested fix recommends uninstalling and re-installing. I first installed as a download and have no product DVD. Where do I find a download?

    Download it here:
    Download CS6 products
    Gene
    (If this does successfully solve your issue, mark this as answered to close the case. If not post followup questions.)

  • Splash Screen with a progress bar at the bottom

    Hi,
    I want to display a splash screen with the progress bar at the bottom just like eclipse , limewire etc
    Take a look at the image below.
    [http://imageupload.com/out.php/i138889_splashScreen.png]
    Can anybody tell me how to achieve this type of splash screen?
    Thnx in advance.

    Search Google.
    This is one of the results: [Splash screen avec progress Bar|http://www.labo-sun.com/resource-fr-codesamples-1126-0-java-gui-splash-screen-avec-progress-bar.htm]

  • Frequently, when using firefox, it stops browsing. It will say in the progress bar on the left "Stopped" and I can't browse. What is the problem?

    Frequently, when using firefox, it stops browsing. It will say in the progress bar on the left "Stopped" and I can't browse. What is the problem?

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages

Maybe you are looking for