VB Programmer,
Remember there are 3 different Timer objects in .NET.
For a console application I would not use the System.Windows.Forms.Timer
class, as this class is based on Forms, which means you need to get
Application.Run involved.
I would recommend using either System.Threading.Timer class or the
System.Timers.Timer class. Be sure to read about both as they use multiple
threads to handle the event.
System.Timers.Timer
System.Threading.Timer
System.Windows.Forms.Timer (for use with Windows Forms applications)
HTH,
Herfried K. Wagner
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.