Groups | Blog | Home
all groups > vb.net > january 2006 >

vb.net : Why is this undefined??


ron.deberry NO[at]SPAM gmail dot com
1/27/2006 9:20:05 PM
Hi,

I am trying to check for installed services using :

Dim services() As System.ServiceProcess.ServiceController

gives this compiler error

Form1.vb(802): Type 'System.ServiceProcess.ServiceController' is not
defined.

Intellisense does not list System.ServiceProcess either.

Using VS 2003.
Ken Tucker [MVP]
1/28/2006 6:47:46 AM
Hi,

Add a reference to system.serviceprocess

Ken
-------------
[quoted text, click to view]

AddThis Social Bookmark Button