Discussion:
problem with Windows forms progress bar
(too old to reply)
NumbLock
2011-04-07 19:06:29 UTC
Permalink
I'm not sure if this group is being used or not or just for spammers or
what's going on but have a question about a progress bar in a Windows
forms application. No matter what I set the maximum value to whenever
the value reaches that number the progress bar is not completely filled.
Sometimes it stops halfway. Sometimes it stops three quarters of the
way. Sometimes he gets very close to the end of the progress bar. But
never completely filled it. I'm using a Windows forms application in
VB.net and Visual Studio 2008 running on Windows 7 32-bit. Hopefully
there are some who are out there that can help this. I've seen lots of
other applications doing the same thing especially some older installers
when running on Vista or Windows 7 so I think this this is a common
problem.

Any help would be appreciated.

Regards,
NumbLock
-------------------------------------------------------
There are only 10 kinds of people in the world. Those
who understand binary and those who don't
-------------------------------------------------------
Armin Zingler
2011-04-07 22:00:34 UTC
Permalink
Post by NumbLock
I'm not sure if this group is being used or not or just for spammers or
what's going on but have a question about a progress bar in a Windows
forms application. No matter what I set the maximum value to whenever
the value reaches that number the progress bar is not completely filled.
Sometimes it stops halfway. Sometimes it stops three quarters of the
way. Sometimes he gets very close to the end of the progress bar. But
never completely filled it. I'm using a Windows forms application in
VB.net and Visual Studio 2008 running on Windows 7 32-bit. Hopefully
there are some who are out there that can help this. I've seen lots of
other applications doing the same thing especially some older installers
when running on Vista or Windows 7 so I think this this is a common
problem.
Any help would be appreciated.
Are you updating the progressbar in a busy UI thread?

And never trust progressbars in foreign applications. ;-) Rarely it
has something to do with progress.
--
Armin
Loading...