Link to home
Start Free TrialLog in
Avatar of sse<!-9EFE6A6FFEBF622B034E9F1C613FCFE5-->

asked on

Refresh control on form

I have a button on a windows form after click it starts a subroutine that takes some time.  I wish to show the progress of this sub by updating a textbox displaying the number of records processed.  The problem is that I can not find a way of having this textbox refresh to show the latest value during the execution of the sub.  When the sub finishes then the last value is displayed.  I have tryed things like form.refresh, etc.  I remeber in vb6 you had to do something like doevents to allow the form to update itself.  But I can not find anything similar in

Any help to this irratating problem would be great.

Avatar of AlexFM

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