Link to home
Start Free TrialLog in
Avatar of Statiscuro
StatiscuroFlag for Australia

asked on

Displaying progress during execution

Hi, I have a small app that updates a bunch of database records. The problem is that this process takes a long time and I'd like to display a simple textbox to show the current percentage complete.

At the moment, I update this textbox in the method that is executing, then call 'this.Invalidate()' then 'this.Refresh()' and it seems to work. Problem I have is when the app is resized or loses focus or whatever, it stops updating. What is the correct way to implement this type of scenario?
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

ASKER CERTIFIED SOLUTION
Avatar of jatinderalagh
jatinderalagh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial