Mark, how about instead of using a progress bar, use a label which displays
the amount of time in seconds your process has been running. As long at you
visually see the timer ticking on, you know your program is still
progressing.
Cardyin
------------------------------------------
Cardyin Kim
C/S & Web Development Analyst
San Antonio Community Hospital
Upland, CA
ckim@s... (xxx)xxx-xxxx
------------------------------------------
-----Original Message-----
From: Mark Phillips [mailto:mark@p...]
Sent: Saturday, November 16, 2002 6:57 AM
To: professional vb
Subject: [pro_vb] Problems with Progress bar
I want to display a progress bar during certain activities in my
application, but do not have a max value. For example, the user queries a
database but does not know how many records will come back, the database
is remote so there are time delays, the database is a complex beast with
optical drives, builds caches, etc and the files are large so transfer
tiems are significant; a login process across a VPN and I do not know how
long it will take; a third party control loads a large file but the
control does not expose any progress type events or values so I do not
know how long it will take.
Is there a "standard" way to implement a progress bar when the max value
is not known? Should I use a timer and just increase the progress bar
every second, and if I reach the end reset the progress bar and keep
counting until the process ends? Seems really kludgy.
Thanks for any advice you may have!
Mark
to unsubscribe send a blank email to ..