Link to home
Start Free TrialLog in
Avatar of Jimbo99999
Jimbo99999Flag for United States of America

asked on

VB.Net - Cancel Button

Good Day Experts!

I have an application that has a main tab control.  Several of the tabs have longer running processes.  I do ask "Are you sure?" behind all of the button clicks, but several time Users click buttons then realize that they want to cancel.

The only way to get out of the process is to exit the application and go back in.

Is it possible to have a <Cancel> button on the UI to exit out of the current process?

Thanks,
jimbo99999
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Is the long running process executing in a new Thread or is it executing in the button click event?
Possibly...it depends on how you started those "processes".
Avatar of Jimbo99999

ASKER

Hello, thanks for responding.  They are all executed behind a button click.
Perhaps you can show the code behind one of these buttons?
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial