I need a professional looking progress bar
Posted on 2004-04-20
This may be a common problem, but I could not find the solution.
My project involves a lot of Office automation, which are sometime quite lengthy and I'd like to offer a professional looking progress meter window to the users. I know how to how to create a progress bar and how to link it to a timer event to control the time needed to fill the progress bar. It works fine in a standalone test form, however when I include this form in my main form so it becomes visible when the code starts running, nothing happens. The progress bar is visible but is not fiiling, as if the timer event is not fired.
Can you help Me ?
Also, is there a way to estimate the time an automation routine will take, so I can add the percent of the action completed and set the properties of the timer event ? Or if it is impossible, how can I make my progress bar fill slowly then, when the action is completed, fill up rapidly to 100% before closing ?