64-bit Progress Bar Maximum?
-
Hello all, Is there a progress bar for .NET that has an unsigned 64-bit maximum value? The number of items I'm processing can easily exceed 32-bits, but the Windows Forms progress bar only accepts a standard int. Thanks, Dybs
Why don't you set the maximum to 100 and set the integer percentage value when it has changed? Setting the value a billion times will slow down your application anyway, and users won't see a difference.
-
Why don't you set the maximum to 100 and set the integer percentage value when it has changed? Setting the value a billion times will slow down your application anyway, and users won't see a difference.
Good point. We had created a form that has a progress window and a display of the number of items being processed, and we had just been using the ProgressBar.Maximum property for that value. But yes, your suggestion would be a better design choice. Thanks, Dybs