Can't stop timer

suresh_ed

Active member
Joined
May 19, 2008
Messages
27
Programming Experience
1-3
I want to stop a specific process using Timer after 5 seconds.

After 5 sec it calls the timer.elapsed event subroutine and stops the process but again its goes to subroutine.

I used timer1.stop, timer1.Enabled = False, timer1.Close(), and timer1.Dispose() to stop the timer. But i cannot.

What is the problem. It should work only once.

Please suggest.


Thanks,
Suresh
 
Back
Top