Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Service to start VB console Application

Status
Not open for further replies.

mcauliff

Programmer
Feb 26, 2007
71
US
I have 2 VB.NET Console Applications that executed at different times from a web server. In most cases, the web server will not be logon.

One of the console Applications executes daily at 5:30 am and the other every 25 minutes.

It has been suggested to code a Windows Service to start these applications. I have no knowledge of how to code a Windows Service module. I have read about them and know that I'm able to code using Visual Studio 2005 Vb.NET.

How would I call by console application?

How do I set the start time for the daily app?

How do I code the loop to execute every 25 minutes for the other?

 
I would suggest just using Windows Scheduled Tasks/Task Scheduler. If that is all you want to do it makes no sense to create a Service for Windows that already has a Service in windows.

-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top