1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to add any task to windows service?

Discussion in 'C#' started by shah123, May 9, 2007.

  1. shah123

    shah123 New Member

    Joined:
    Mar 27, 2007
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    0
    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?
     
  2. shah123

    shah123 New Member

    Joined:
    Mar 27, 2007
    Messages:
    84
    Likes Received:
    0
    Trophy Points:
    0
    One more problem is i have main method defined in 2 places one if the main form schedule.cs and one in windowsService.cs?

    Is there anyway that i run my form from main method of windowsService.cs?
    What can be done for that?
     

Share This Page