Why is this undefined??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ron.deberry@gmail dot com

    Why is this undefined??

    Hi,

    I am trying to check for installed services using :

    Dim services() As System.ServiceP rocess.ServiceC ontroller

    gives this compiler error

    Form1.vb(802): Type 'System.Service Process.Service Controller' is not
    defined.

    Intellisense does not list System.ServiceP rocess either.

    Using VS 2003.

  • Ken Tucker [MVP]

    #2
    Re: Why is this undefined??

    Hi,

    Add a reference to system.servicep rocess

    Ken
    -------------
    "ron.deberry@gm ail dot com" <ron.deberry@gm ail.com> wrote in message
    news:1138425605 .759217.188750@ f14g2000cwb.goo glegroups.com.. .[color=blue]
    > Hi,
    >
    > I am trying to check for installed services using :
    >
    > Dim services() As System.ServiceP rocess.ServiceC ontroller
    >
    > gives this compiler error
    >
    > Form1.vb(802): Type 'System.Service Process.Service Controller' is not
    > defined.
    >
    > Intellisense does not list System.ServiceP rocess either.
    >
    > Using VS 2003.
    >[/color]


    Comment

    Working...