471,354 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Install/Start/Stop/Remove services

I am wondering if there is a class that can be used to install/remove
services? I know that there is one for starting/stopping/etc. but not sure
about actually install/remove. What I have is a C# service (created via
VStudio) that I want to control (fully) from another standalone application.
The user will be allowed to add/remove/start/stop my service via menu's.

Any samples would be great or just a suggestion on where to look in MSDN
would be great (class name, etc.)?

Thanks!

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Charles Cox
VC/VB/C# Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jan 30 '06 #1
2 8074
This article illustrates the use of both Craig Andera's "self installing
service" code as well as Neil Baliga's recovery and autostart classes, all in
one code example.

http://www.eggheadcafe.com/articles/20060104.asp

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"C.C. (aka Me)" wrote:
I am wondering if there is a class that can be used to install/remove
services? I know that there is one for starting/stopping/etc. but not sure
about actually install/remove. What I have is a C# service (created via
VStudio) that I want to control (fully) from another standalone application.
The user will be allowed to add/remove/start/stop my service via menu's.

Any samples would be great or just a suggestion on where to look in MSDN
would be great (class name, etc.)?

Thanks!

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Charles Cox
VC/VB/C# Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Jan 30 '06 #2
Perfect!! Thanks for the suggestion.

I found Craig Andera's info as well.. From what it sounds this is all that
is needed?

http://pluralsight.com/wiki/default....ngService.html

Thanks again!

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Charles Cox
VC/VB/C# Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:B8**********************************@microsof t.com...
This article illustrates the use of both Craig Andera's "self installing
service" code as well as Neil Baliga's recovery and autostart classes, all
in
one code example.

http://www.eggheadcafe.com/articles/20060104.asp

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"C.C. (aka Me)" wrote:
I am wondering if there is a class that can be used to install/remove
services? I know that there is one for starting/stopping/etc. but not
sure
about actually install/remove. What I have is a C# service (created via
VStudio) that I want to control (fully) from another standalone
application.
The user will be allowed to add/remove/start/stop my service via menu's.

Any samples would be great or just a suggestion on where to look in MSDN
would be great (class name, etc.)?

Thanks!

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Charles Cox
VC/VB/C# Developer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Jan 31 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Nathan Henderson | last post: by
15 posts views Thread by brent | last post: by
3 posts views Thread by Jeremy S. | last post: by
2 posts views Thread by Fan Wang | last post: by
3 posts views Thread by Chris Wagner | last post: by
1 post views Thread by =?Utf-8?B?QmVydG9sb25p?= | last post: by
4 posts views Thread by =?Utf-8?B?QWxoYW1icmEgRWlkb3MgRGVzYXJyb2xsbw==?= | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.