stopping current execution

  • Thread starter Thread starter Selva Chinnasamy
  • Start date Start date
S

Selva Chinnasamy

I have read large amount of data from Ms-Access database to build
BinaryArray.

I like to know how can I stop the current execution after it is statrted.

Functions build the Binary array is not on a different thread.

Any help is greatly appreciated.

Selva
 
Selva said:
I have read large amount of data from Ms-Access database to build
BinaryArray.

I like to know how can I stop the current execution after it is statrted.

Functions build the Binary array is not on a different thread.

Any help is greatly appreciated.

Selva

Are you saying you want the user to hit a cancel button? If so then
putting it in another thread is highly recommended from a responsiveness
stand point. But either way you will need to put points in the
execution of code to check a flag. If the flag is set then stop executing.

Chris
 
Back
Top