All-In-One Windows Service Code Samples

All-In-One Windows Service Code Samples

 

Introduction

The All-In-One Windows Service code samples demonstrate the typical programming topics about Windows Services. These topics are either frequently asked in MSDN forums and Microsoft Support, or are requested by many developers via our code sample request function. We want to alleviate the frustration felt by developers when they are developing Windows Services.

 

 

Visual Studio 2008 Code Samples

Sample Description Download ReadMe
ATLCOMService The sample demonstrates how to use Acitve Template Library (ATL) wizards in Visual Studio 2008 to create an out-of-process COM service. Download ReadMe.txt
CppInteractiveWindowsService The code sample demonstrates the best practices for creating a Windows Service that can interact with users Download ReadMe.txt
CppWin7TriggerStartService This VC++ code sample shows how to create a trigger-start Windows Service that starts when a generic USB disk or IP becomes available. Service Trigger Start is a new feature in Windows 7. Download ReadMe.txt
CppWindowsService This code sample demonstrates creating a basic Windows Service application in VC++ Download ReadMe.txt
CSCOMService The sample demonstrates an out-of-process COM/DCOM service in the form of Windows Service (EXE), which is implemented entirely in Visual C#. Download ReadMe.txt
CSWin7TriggerStartService This VC# code sample shows how to create a trigger-start Windows Service that starts when a generic USB disk or IP becomes available. Service Trigger Start is a new feature in Windows 7. Download ReadMe.txt
CSWindowsService This code sample demonstrates creating a basic Windows Service application in VC# Download ReadMe.txt
CSWindowsServiceRecoveryProperty The code sample demonstrates setting the recovery properties of Windows Service Download ReadMe.txt
VBWin7TriggerStartService This VB code sample shows how to create a trigger-start Windows Service that starts when a generic USB disk or IP becomes available. Service Trigger Start is a new feature in Windows 7. Download ReadMe.txt
VBWindowsService This code sample demonstrates creating a basic Windows Service application in VB Download ReadMe.txt
VBWindowsServiceRecoveryProperty The code sample demonstrates setting the recovery properties of Windows Service Download ReadMe.txt

 

Download all code samples: https://1code.codeplex.com/releases

Submit your request of Windows Service code samples (Guidance)