|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Why is this undefined??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. Hi,
Add a reference to system.serviceprocess Ken ------------- Show quoteHide quote "ron.deberry@gmail dot com" <ron.debe***@gmail.com> wrote in message news:1138425605.759217.188750@f14g2000cwb.googlegroups.com... > 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. >
Whats's the problem using a enum like this?
Is It Possible to Retrieve a List of Declared Variables? Detect Concurrent Running Instances setting datagrid column widths in code? Inheritance and function issue late binding problem with option strict What happen to Find in Files in VS2005? FileDownload with WebBrowser Control - disable the Save? Run from Server or Workstation |
|||||||||||||||||||||||