I have a form on which I want to place two buttons. One button starts a long process running. The other button I want to use to interrupt (stop) the long running process.
I have tried using the system...doevents, but that does not seem to work.
Many thanks in advance!!!
Gary (vbn)
Comments
: I have a form on which I want to place two buttons. One button starts a long process running. The other button I want to use to interrupt (stop) the long running process.
:
: I have tried using the system...doevents, but that does not seem to work.
:
: Many thanks in advance!!!
:
: Gary (vbn)
:
:
:
You might want to create a worker thread for the long running process. Then it won't hold up the message que for the User Interface.
-ray
: :
: : I have a form on which I want to place two buttons. One button starts a long process running. The other button I want to use to interrupt (stop) the long running process.
: :
: : I have tried using the system...doevents, but that does not seem to work.
: :
: : Many thanks in advance!!!
: :
: : Gary (vbn)
: :
: :
: :
: You might want to create a worker thread for the long running process. Then it won't hold up the message que for the User Interface.
:
: -ray
:
Many thanks Ray!!! Gary (vbn)