Link to home
Start Free TrialLog in
Avatar of cmdolcet
cmdolcetFlag for United States of America

asked on

How can I stop current timers from firing again and terminate a sub

I have a timer that is fired every 100ms inside that timer I have different sub routine that are executed. If I hit a condition in which I would like to stop the timer and also exit the sub without re entering how could I do that?
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Stop the timer and exit the sub, just like you said?

    Timer1.Stop()
    Exit Sub
ASKER CERTIFIED SOLUTION
Avatar of MMTadmin
MMTadmin

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