The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: How to start or stop a Windows Service using C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Suraj KumarPosted Sep 13, 2019, 8:02 AM
I want to make a service that runs on when i give a print to my printer and automatically store the data in database how can i do that
muhammed yasirPosted Jun 13, 2018, 6:46 AM
Butt InnerException = {"Access is denied"} how to solve
prem anandPosted Mar 19, 2013, 9:02 AM
Hi i had writen windows service to kill Excel in win server 2008 r2 and am calling start and stop in my asp.net appliction which is running DefaultAppPool User in IIS but i failed to start from .net app please help me
hyder yadwadPosted Sep 9, 2010, 1:41 AM
Very time I start the service it, performs the action and then stops automatically, How to make it run continiously.... Thnx Yadwad.