I've a bit of VB code (a For loop) that takes some time to run (about 2-3 mins typically) and I want to show a progress dialog (i.e. a small dialog with a progress bar and message) whilst this code runs. Is this possible? If so, how do I do it?
Add the common controls to your project (MSCOMCLT.OCX).
Now you can add a progressbar to your form.
Set the progressbars max property to initialise and then the value property as you go along.
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.