Rumyhub

The place where stuff Happens

Creating a simple windows service in C#. Part 3

SimpleService.rar (26.75 kb) This is the final part is on how to install our service to the system if you are using Windows XP you can do this by Opening CMD prompt finding the directory (debug folder in your project) using CD (change directory) and then type installutil SimpleService.exe. To... [More]

Creating a simple windows service in C#. Part 2

SimpleService.rar (26.75 kb)   In the first part we did the service skeleton so now we a custom installer for it... Start by creating a separate class. I name my MyServiceInstaller.cs and add the following reference. using System; using System.ComponentModel; using System.Configuration.... [More]

Creating a simple windows service in C#. Part 1

SimpleService.rar (12.12 kb) Hey, I was researching on services and on how to create them in C# . and this is what I learnt... First we start by create an empty project in visual studio.. To work with services we need to add to references to the project, the System.ServiceProcess and ... [More]