progressbar

ProgressBar when Scanning a Hard Drive

So, I'm doing a simple scan to get a list of all folders on a hard drive (c:\windows and c:\windows\system32 are considered separate entries). If I wanted to provide a progress bar for this 1-2 minute task, how would I do so? That is, I know how to make the progressbar but am not sure how to determine how much of the work for it is don...

Flash video player scrubber dragging past progress bar fill

I'm trying to troubleshoot the scrubber for a custom video player and I'm coming across an issue with the scrubber being dragged past the progress bar fill if the flv hasn't fully loaded. The player is here: http://mindfilemultimedia.com/stage/portfolio.html If you play the video you will see that while the flv is still downloading, wh...

Progress bar not updating during operation

in my python program to upload a file to the internet, im using a GTK progress bar to show the upload progress. But the problems that im facing is that the progress bar does not show any activity until the upload is complete, and then it abruptly indicates upload complete. im using pycurl to make the http requests...my question is - do...

Progress bar using Office VBA

I have a small programme that opens and closes a number of different word documents while it runs. It loads some documents from the web so it takes a little while and I'd prefer to let the user watch a little progress bar or at least have a message in a form telling them to wait. I can't seem to be able to keep that form on top of all o...

AJAX - Progress bar for a shell command that is executed

I am making use of AJAX on my site and I would like to show users progress of a file that is being downloaded by my server. The download is done by script that outputs a percentage to the shell. I would like to pass this info back to the user using AJAX. How can I do this? Thank you for any help and direction. I hope your solutions do...

Progress bar and multiple threads, decoupling GUI and logic - which design pattern would be the best?

Hello, I'm looking for a design pattern that would fit my application design. My application processes large amounts of data and produces some graphs. Data processing (fetching from files, CPU intensive calculations) and graph operations (drawing, updating) are done in seperate threads. Graph can be scrolled - in this case new data...

Enable Visual Styles for a Class Library

Hi, how do I enable visual styles when my project is a class library and it's being loaded into a program that does not have Application.EnableVisualStyles() set. I have been struggling with this for 2 days now. This is in C# (I've seen some examples for older C++ and some things that may work for VB, but nothing has been clearly laid ...

Progress bar in uploading Xml file.

Hi, i want to use a background thread for the process of loading the XML data, possibly with a progress bar to let the user know that the application is actively doing something. i have written this code through searching the net. i want to load a XML tree in treeview on winform when a user cliks a Browse button. In case of a large XML ...

ProgressBar not updating on change to Maximum through binding

<ProgressBar Foreground="Red" Background="Transparent" Value="{Binding NumFailed, Mode=OneWay}" Minimum="0" Maximum="{Binding NumTubes, Mode=OneWay, Converter={x:Static wpftools:DebuggingConverter.Instance}, ConverterParameter=Failedprogressbar}" FlowDirection="RightToLeft"...

How do I display a jquery dialog box before the entire page is loaded?

On my site a number of operations can take a long time to complete. When I know a page will take a while to load, I would like to display a progress indicator while the page is loading. Ideally I would like to say something along the lines of: $("#dialog").show("progress.php"); and have that overlay on top of the page that is bei...

Realistic time estimates for progress bars etc.

I know I am not the only one who does not like progress bars or time estimates which give unrealistic estimates in software. Best examples are installers which jump from 0% to 90% in 10 seconds and then take an hour to complete the final 10%. Most of the time programmers just estimate the steps to complete a task and then display curren...

Progress Monitor implementation in C#

Hi, In Eclipse I saw an implementation of IProgressMonitor - which is subsequently in SharpDevelop too but I'm not sure how this works. Is there an example of this elsewhere that might be a bit easier to understand? What I'm trying to achieve is a method of tracking the progress of a bunch of tasks (which vary greatly from 20mins to 5s...

Progress Bar not updating

I have the following piece of code to write data to an XML file. private void WriteResidentData() { int count = 1; status = "Writing XML files"; foreach (Site site in sites) { try { //Create the XML file StreamWriter writer = new StreamWriter(path + "\\sites\\" + si...

How do I make this progress bar close when it is done

I commonly write Python scipts to do conversion tasks for me and whenever I write one that takes a while I use this little progress bar to check on it import sys import time from PyQt4 import QtGui app = QtGui.QApplication(sys.argv) barra = QtGui.QProgressBar() barra.show() barra.setMinimum(0) barra.setMaximum(10) for a in range(10): ...

Ready-made animation libraries

I am looking for some progress animations to be shown in my WinForms application - so anything like AVI or animated GIF will do. The best would be animations depicting some "abstract" concepts, such as (for example) flying paper or animated 0s and 1s, to indicate progress. I know that Visual Studio 2008 comes with its own animation libr...

Can ffmpeg show a progress bar?

Hello all, I am converting a .avi file to .flv file using ffmpeg. As it takes a long time to convert a file I would like to display a progress bar. Can someone please guide me on how to go about the same. I know that ffmpeg somehow has to output the progress in a text file and I have to read it using ajax calls. But how do I get ffmpeg...

Progress Bar for calls to SQL from .Net

I'm wondering if there is a tried/true method for reporting the progress of a DB call from a .Net application to its user. I'm wondering if it's even possible to actually indicate a percentage of completion, or is the best/only approach to simply display a "loading" animation to indicate that something is happening? Also, does SQL2008...

Flex: indeterminate ProgressBar in modal pop up?

Whenever I set a indeterminate progress bar in a modal pop-up via PopUpManager, there is no progress displayed. If I add the same ProgressBar to the parent regularly or make the pop-up non-modal it works. Is there a reason why it doesn't work in modal pop-ups? and a way to make it work? Thanks. ...

COMCTL Common Controls Progressbar displays ugly blue bars

I have a VB6 program which uses comctrl32.ocx to display a progress bar. I've also had programs using mscomctl.ocx. However, it is displaying it using the ugly, old-style blue boxes progress bar instead of using the new-style progressbar (which presumably varies depending on the OS). Other programs which reference that same ocx file d...

AJAX progress bar dispaying loading progress percentage for page load

Hello, How do you use a progressbar to show the loading percentage for a page? ...(similar to how they show in flash) Thanks ...