I have a form that runs some geo processing tools in a sequence when it displays.
However when i click the close button the form gets disposed but the geo processing tools still execute.
Is there any way of cancelling the task after Execute(process,null) is called o the geoprocessor?
If yes could someone post some code for the same?
I've never done it so I don't know how complex a task it is but I think you need to set ITrackCancel parameter when you call the Execute method. You need to research these pages and may be search the internet for sample code?