.NET Framework - ServiceController??

Asked By CoryJLaidlawBeyond01co on 28-Nov-08 12:47 PM
Howdy!

I am trying to write an application that will control some services I am
writing.

However, in VS 2008 (VB) I don't appear to have the system.serviceprocess
namespace.

Am i nuts? Thanks for any help!




Patrice replied on 28-Nov-08 01:01 PM
And what have you done sor far ? Have you tried to add a reference to
System.ServiceProcess ?

--
Patrice

de groupe de discussion :
8C3BC80A-39FC-4BBE-B27E-7F010695F0B2@microsoft.com...
Herfried K. Wagner [MVP] replied on 28-Nov-08 01:22 PM
Make sure your project contains a reference to "System.ServiceProcess.dll".

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
kimiraikkonen replied on 30-Nov-08 01:46 PM
On Nov 28, 7:47=A0pm, Cory J. Laidlaw, Beyond01.com

Additionaly, look at your toolbox, ServiceController component should
be available there. Drop it onto your form if it's a Winform project.
Then associate a service for that component to use, and you're ready
to use it, eg: with Start method.

Also:
http://www.ondotnet.com/pub/a/dotnet/2003/08/18/winservices.html?page=3D3

Hope this helps,

Onur G=FCzel
CoryJLaidlawBeyond01co replied on 28-Nov-08 03:58 PM
Ah, it is PURE Magic!

Thanks very much to all who responded!

Cory