ASP.NET
  Home arrow ASP.NET arrow Managing Windows Services with Visual Stud...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
Moblin 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
IBM developerWorks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

Managing Windows Services with Visual Studio 2005
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2007-01-03

    Table of Contents:
  • Managing Windows Services with Visual Studio 2005
  • Properties of the Service
  • Handling Loss of Service
  • Programmatic access using the NET framework
  • Starting, Pausing and Stopping a Service

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Managing Windows Services with Visual Studio 2005


    (Page 1 of 5 )

    You may have a large number of services running on your computer with your machine using the Windows operating system. These can be managed from the user interface of your computer. These can also be managed using the Net 2.0 framework class ServiceController. This tutorial shows you how you may manage programmatically the Windows services by means of an example after describing the process of working with the Services window in the control panel. In this process several other properties and methods of this important class are also explored.

    Accessing Windows Services using the Control Panel

    Windows services running on your machine may be accessed from Control Panel-> Administrative Tools-->Services. This brings up the services window in your computer as shown. The next picture shows the services that are installed on this machine (Windows XP Professional, Media Center Edition). As you can see, they are all in different states (some stopped, some running, and so on).

    The highlighted service has the service name OracleServiceXE. This service starts up automatically when the Window program starts up. It can be paused and restarted; if it has stopped, it can be started from the panel by clicking the links shown in the above window.

    More ASP.NET Articles
    More By Jayaram Krishnaswamy


       · For those using Windows OS one of the important places they should get used to is...
     

    ASP.NET ARTICLES

    - Enhancing PHP Via the ASP.NET AJAX Framework...
    - Enhancing PHP Programming with the ASP.NET A...
    - Classes and ASP.NET AJAX
    - Using ASP.NET AJAX
    - Building a Simple Storefront with LINQ
    - Developing a Dice Game Using ASP.NET Futures...
    - Completing an ASP.NET AJAX Server-Centric Ba...
    - Information Management for an ASP.NET AJAX S...
    - Comment and Order Management for an ASP.NET ...
    - Back-end Management Tasks for an ASP.NET AJA...
    - User Information Management for an ASP.NET A...
    - Adding Comments and Search to an ASP.NET AJA...
    - Order-Related Modules for an ASP.NET AJAX Se...
    - User and Role Management for an ASP.NET AJAX...
    - Programming an ASP.NET AJAX Server-Centric B...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway