problem with Timer (WinForm)

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?
 
A

Andrew Smith \(Infragistics\)

I could be wrong but most likely you're adding a handler for the event
twice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top