Page 1 of 1

progress bar

Posted: Wed Jun 21, 2006 2:46 am
by imranhad
Can i show progress bar on my forms
which shows percentage% completion in procedure.


thanks

imran hyder

Posted: Thu Jun 22, 2006 2:31 pm
by hashfati
you can use a vbx control (I think there is one that is shipped with vb6)
but what I did was...

1. place a display item on canvas
2. initially make it invisible. make it visible where you want it in your code
3. create a timer of a suitable duration
4. and when timer expires, make its width a little bigger than its previous length

tricky. isn't it?

hash

Posted: Fri Jun 23, 2006 4:51 am
by admin
Download sample from the following link,

topic.asp?TOPIC_ID=12

Posted: Wed Jun 28, 2006 5:40 am
by najm
Dear Admin i am watching from many days that when ever any one want to know about the Progress bar you mention that link topic.asp?TOPIC_ID=12 dear we know that you made a sample but public wants to know how it is implemented on Form Procedures or a heavy Report please customize your form or tell the procedure to implement it on a form specially on a report if I am on mistake please forgive me Thanks.

Chears
Najm

Najm

Posted: Wed Jun 28, 2006 6:16 am
by admin
With reports and database procedure you can't have progress bar only procedure written in forms can have progress like,

declare
define increment
begin
loop
increment + 1 << here is the trick that you have to get the increment say a query on which this loop has to work have 200 records which you have to check before entering into this loop. Now you can increase with that number.
increase the graph
end loop

end

If still any query then please let me know.

Posted: Thu Jun 29, 2006 3:45 am
by najm
use less

Najm