By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,319 Members | 1,963 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,319 IT Pros & Developers. It's quick & easy.

Timer in module

P: n/a
Hi

How can I use a timer in a module such that I can start the timer and then
trap when timer has reached the interval?

Many Thanks

Regards
Jul 14 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
JDS
On Jul 14, 2:41*am, "John" <i...@nospam.infovis.co.ukwrote:
Hi

How can I use a timer in a module such that I can start the timer and then
trap when timer has reached the interval?

Many Thanks

Regards
Try this:

http://msdn.microsoft.com/en-us/libr...er(VS.80).aspx

HTH
Jul 14 '08 #2

P: n/a
Or, you can use System.Threading.Timers or System.Timers.Timer.

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Jul 14 '08 #3

P: n/a
What is the difference between the three?

Thanks

Regards

"Dick Grier" <dick_grierNOSPAM@.msn.comwrote in message
news:Oy****************@TK2MSFTNGP03.phx.gbl...
Or, you can use System.Threading.Timers or System.Timers.Timer.

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.

Jul 14 '08 #4

P: n/a
On Jul 14, 8:21*pm, "John" <i...@nospam.infovis.co.ukwrote:
What is the difference between the three?

Thanks

Regards

"Dick Grier" <dick_grierNOSPAM@.msn.comwrote in message

news:Oy****************@TK2MSFTNGP03.phx.gbl...
Or, you can use System.Threading.Timers or System.Timers.Timer.
--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
Seewww.hardandsoftware.netfor details and contact information.- Hide quoted text -

- Show quoted text -
The first Google return that would meet your need:

http://crawlmsdn.microsoft.com/en-us.../cc164015.aspx

Thanks,

Onur Güzel
Jul 14 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.