On 5/19/06 12:38 PM, "Theodore H. Smith" <[EMAIL PROTECTED]> wrote:

> I got a progress bar, for an operation.
> 
> The operation has several sub operations.
> 
> Unzip, analyse, cleanup.
> 
> I'm trying to make the progress bar be smooth, so that it doesn't
> just jump past a quick unzip, and then really take ages during the
> analysis. But to do that, I need to know how long the analysis will
> take.
> 
> The duration of the analysis is dependant on the size of the
> information that needs to be analysed.
> 
> Now, to know how long the analysis will take, I need to unzip the
> data first. So, basically, I can't before hand know how long the
> analysis will take, but only during the main operation can I get a
> refined estimate of how long is left.
> 
> I guess that's a bit like software development, you got a rough idea
> of how long it'll take, but only once you started doing enough work
> will you really know how long the job will take!
> 
> So, what should I do?

Maybe during the initial unzip set the progress bar to a barer-pole, then
after unzip you can calculate the needed time and adjust the max
accordingly.

-Seth
--
<http://www.realopen.org>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to