Introducing Windows Services
page 3 of 5
by Uday Denduluri
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 14143/ 120

Creating and Installing a Windows Service with Visual Studio 2005

Creating and installing a windows service is explained step by step.

·         Open Visual Studio 2005

·         Select new project Visual C# - Windows in Project Types and Windows service in the installed templates and click Ok.

·         Write the code for OnStart and OnStop. Build and see that the windows service does not have any errors.

·         Run InstallUtil /i WindowsService.exe in the Visual Studio command prompt. To uninstall we can use InstallUtil /u WindowsService.exe.

·         Open Services.msc and locate the service in the list of the services. Start the service.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 7 and 2 and type the answer here:

User Comments

Title: Good   
Name: Ashok
Date: 9/30/2008 2:10:22 PM
Comment:
very good to start with.
Title: Suggestion   
Name: Everson
Date: 6/13/2008 8:49:11 AM
Comment:
Post here a draw of tipical windows service and then explain the theory about it.
Title: Well   
Name: Nitin Tiwari
Date: 1/23/2008 8:26:18 AM
Comment:
this is good for starting..
H T
Title: good article   
Name: good article
Date: 10/4/2007 2:56:56 AM
Comment:
Nice aricle
Title: depsre articol   
Name: OMU
Date: 7/2/2007 6:58:51 AM
Comment:
a good quick introduction to Widows Services

Product Spotlight
Product Spotlight 






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2009 ASPAlliance.com  |  Page Processed at 11/21/2009 11:33:06 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search