Executing function at interval in Console Application

interval , call back Malé, Maldives
  • 12 years ago
    Hi, I'm developing an application which basically connects to a device, read the data stored in that device and store the information to the database. I'm using .net 2.0 (visual studio 2005) with Visual Basic. I have programmed the data reading from the device and writing them to the database. However, now I have to make sure that this data read from the device takes place at an interval, like every 10 seconds (10000 milliseconds). I'm able to do this in a Windows Application, but i'm wondering how do i go about implementing it in a console Application. Any directions or suggestions? Thanks for your time. aHa

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The generation of random numbers is too important to be left to chance.” - Robert R. Coveyou