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

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

User Comments

Title: good   
Name: junaid.iqbal
Date: 2011-07-02 4:57:04 AM
very good start
Title: Good   
Name: Ashok
Date: 2008-09-30 2:10:22 PM
very good to start with.
Title: Suggestion   
Name: Everson
Date: 2008-06-13 8:49:11 AM
Post here a draw of tipical windows service and then explain the theory about it.
Title: Well   
Name: Nitin Tiwari
Date: 2008-01-23 8:26:18 AM
this is good for starting..
Title: good article   
Name: good article
Date: 2007-10-04 2:56:56 AM
Nice aricle
Title: depsre articol   
Name: OMU
Date: 2007-07-02 6:58:51 AM
a good quick introduction to Widows Services

Product Spotlight
Product Spotlight 

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

©Copyright 1998-2023  |  Page Processed at 2023-10-01 2:10:11 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search