How to add task to windows service
I have done one application now which is about scheduling application. Now I was looking for windows service and how to do add so i created new project in the existing project of my form.
Now the query is "how I would add any of my task in windows services?"
I have form done full of different controls where i can add the task and delete it but how to add to any windows service?
juts guide me some steps please?
10 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Mahesh ChandRank #1 · 392.9K pointsPosted May 9, 2007, 9:32 AM EDT
shah42 pointsPosted May 10, 2007, 3:00 AM EDT
shah42 pointsPosted May 10, 2007, 3:46 AM EDT
Mahesh ChandRank #1 · 392.9K pointsPosted May 10, 2007, 4:52 AM EDT
http://www.c-sharpcorner.com/uploadfile/mahesh/window_service11262005045007am/window_service.aspx
shah42 pointsPosted May 11, 2007, 12:14 AM EDT
shah42 pointsPosted May 11, 2007, 2:52 AM EDT
shah42 pointsPosted May 13, 2007, 2:56 AM EDT
Mike GoldRank #50 · 30.6K pointsPosted May 14, 2007, 2:34 PM EDT
net start <servicename>
call the batch file using System.Diagnostics.Process.Start(<batch file name>)
Mike GoldRank #50 · 30.6K pointsPosted May 14, 2007, 2:36 PM EDT
net start <myservice>
shah42 pointsPosted May 15, 2007, 12:11 AM EDT