problem with Timer (WinForm)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a Winform running and a timer (winform) firing each 3 min to make a
transmition of data..I'm ok about the UI stoping for a while, the problems is
that the timer fires two times in every interval, even if I use Timer.Stop.

It seems that the stop instruction is not stoping the timer associated counter

Private Sub TimerTransmite_Tick(....)
TimerTrans.Stop()
Transfer()
TimerTrans.Start()
End



Any Sug?
 
I could be wrong but most likely you're adding a handler for the event
twice.
 
Back
Top