M
Marina
What is the right way to go about making sure an application is not frozen
and unresponsive while a relatively long running process is going on? The
process is making updates to the UI, which the user needs to see as they are
being made. However, it is desirable that the user is not able to actually
interact with the application as far as clicking buttons, etc, goes.
Application.DoEvents seems to update the UI nicely, but the user can still
interact with the form, which is not good. Is DoEvents the right way to go
here, and must all form elements that should not be interactive be disabled
for the duration of the process?
Any thoughts on this?
and unresponsive while a relatively long running process is going on? The
process is making updates to the UI, which the user needs to see as they are
being made. However, it is desirable that the user is not able to actually
interact with the application as far as clicking buttons, etc, goes.
Application.DoEvents seems to update the UI nicely, but the user can still
interact with the form, which is not good. Is DoEvents the right way to go
here, and must all form elements that should not be interactive be disabled
for the duration of the process?
Any thoughts on this?