Gerard O Carroll (04/19/2010)
Is there something I need to do to keep the textbox refreshing ?
Hi Gerard,
Yes, you can use a BackgroundWorker to update the textbox. Basically the problem is that you are using the form's thread to update the textbox from the loop and if you move out of the form, that thread will not continue to refresh the textbox, you need to use a separate thread to do that.
The BackgroundWorker is pretty easy to use and there are lot of samples in Google on how to use it.