How do I suspend the current Thread until progressBar is finished??
Posted on 2004-09-20
I need your help - I have a VB .NET Windows App that loads a form with data and if a certain criteria is met, displays a messageBox to the end-user. If dialogResult = YES then progressBar is displayed and is started (0 to 100 step 10) and after the progressBar is finished, I want to show the end-user another messageBox.
My situation currently however, is when the end-user clicks YES - both the progressBar and the next messageBox are displayed at the same time. Which cause a big proplem since the end-user can click the YES/NO of the second messageBox even though the progressBar isn't finished.