Home All Groups Group Topic Archive Search About

stopping current execution

Author
17 Apr 2006 4:05 PM
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

Author
17 Apr 2006 5:04 PM
Chris
Selva Chinnasamy wrote:
> 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