I have VB5 Enterprise Edition and I only have that ugly progress bar with big blocs. How can I have a smooth one with no blocs and the percentage in the middle like Windows does?
Printable View
I have VB5 Enterprise Edition and I only have that ugly progress bar with big blocs. How can I have a smooth one with no blocs and the percentage in the middle like Windows does?
Just change the ProgressBar's Scrolling properties from ccScrollingStandard to ccScrollingSmooth.
But for the percentage, I don't think it can be done, try to look for the freeware on the net.
I found exactly what you're looking for on Planet Source Code. Try this link.
http://www.planet-source-code.com/vb...txtCodeId=1512
Note: In the last part of the code posted here, you should declare the variable "i", and the last line should be "Picture1.Cls", NOT "Picture.Cls".
WOW, What a great piece of code!
BTW, you shouldn't change the Picture.Cls for Picture1.Cls! because the Picture.Cls id the local var name within scope, Picture1.Cls is probably the name of your actual picture control! This way your control can be Picture2 and when you pass it, all still works.
I just tested it.
Paul