Timer abuse

  • Thread starter Thread starter Harry Simpson
  • Start date Start date
H

Harry Simpson

I'm using a Timer to start a countdown to the Tick event in which I perform
an event. Everytime the users "does" something in the app, I simulate a
restart of the timer by setting tmr.enabled=False, then tmr.enabled=True to
start the "countdown" for the interval set.

Is there a better way to do this in CF? Using VB.NET.

Thanks
Harry
 
<BG> Thanks Chris,

That's about what i needed to hear. Just seemed like a bit of a hack but
hey....if it works....

Harry
 
Harry,

That's what I do. In fact, that's what we did in earlier versions of VB,
too.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
 
Back
Top