[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

problem with Windows forms progress bar

NumbLock

4/7/2011 8:06:00 PM

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
-------------------------------------------------------

1 Answer

Armin Zingler

4/7/2011 11:00:00 PM

0

Am 07.04.2011 21:06, schrieb 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