Running a program in a loop

  • Thread starter Thread starter Sal
  • Start date Start date
S

Sal

Hello all,
I need to run a program by using a shell function every 2 minutes without
using task scheduler?
How can I achieve this in VB.net not using a windows form?
Any help would be greatly appreciated...

Sal
 
Hi Sal,

You might use System.Timers.Timer or System.Threading.Timer class.
 
Miha,
I used System.Timers.Timer class and was able to achieve my goal.
Thanks for the help...
Sal
 

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

Back
Top