form loses Focus

masterlixx

New member
Joined
Jan 2, 2007
Messages
1
Programming Experience
10+
I have an windows application that when it performs it displays some statistics on its progress. If i go to another application, and then return the staitistics are not being updated anymore. How can i resolve this. Im using vb 2003 and .net 1.1

Ken Allen
allenkb@nbnet.nb.a
 
Refreshing the form won't help if it is running in a continuous message loop, then you have release it periodically with the Application.DoEvents method.
 
i would start a background thread to do the work and use events to show the stats on the main form, this way the main form doesnt get tied up doing the processing and the user can still move it around and what not
 
Back
Top