how to estimate remaining time during process?
any idea please?



thanks....

Re: How To? by Stefan

Stefan
Wed Nov 01 06:09:50 CST 2006


"gechelle" <gechelle@discussions.microsoft.com> schrieb im Newsbeitrag
news:AF77D47D-5A82-4899-B838-F20003E4A76C@microsoft.com...
> how to estimate remaining time during process?
> any idea please?

As for results in absolute time, e.g. seconds, the answer might be You cannot.
Because it would at least be difficult to measure the current machine hardware
capacities and impossible to guess about resources required by other current
tasks, applications running at the same time on the same CPU or on another
one on a multi CPU machine.
As for relative time, like displaying percentage or a progressbar, it might
depend on what your process actually does?


hth
-Stefan



--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------



Re: How To? by Josh

Josh
Wed Nov 01 10:43:26 CST 2006


search for a progress bar/class called ptimer.vcx -- try foxite.com maybe.

It has some nice code that does a good job of estimating -- easily modified.

On Wed, 1 Nov 2006 00:47:01 -0800, gechelle <gechelle@discussions.microsoft.com>
wrote:

>how to estimate remaining time during process?
>any idea please?
>
>
>
>thanks....


--- AntiSpam/harvest ---
Remove X's to send email to me.

Re: How To? by Man-wai

Man-wai
Thu Nov 02 02:25:03 CST 2006

gechelle wrote:
> how to estimate remaining time during process?
> any idea please?

Find something in the process that could be counted.

--
iTech Consulting Co., Ltd.
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288