by Steven Gerhardt (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)
Note:This is a resubmit of my previous entry under the same name because the other one does not work. Sorry to all the people that clicked on it and got stuck.
This code displays an all purpose progress window that is contained in an ActiveX dll. You can customize the window BackColor and ForeColor, along with the progress bar BackColor, ForeColor, and Edge. The big feature of this project is the smoothing of the bar. The dll implements an interpolation method which smooths out long operations or operations that have a low maximum. For example, the screenshot demonstrates the bar running an operation with a maximum of 3, but it fills as if it had a maximum of 3000. It can interpolate either direction, and you can set the number of pixels it draws in per interpolation frame, plus the delay between frames.
This implements some other things from the other post, such as exposing the Font property and others. It has a big limitation, unfortunately, that it is not free threaded. I am working on implementing some threading code for the interpolation, because for now it takes time to draw it that it holds away from your operation. That's about all the limitations.
I welcome constructive criticism, bug reports, and any comments you have about it. Once again, I am sorry that the first post did not go through.
Upload