ServiceController

  • Thread starter Thread starter ucasesoftware
  • Start date Start date
U

ucasesoftware

Dim myController As ServiceController
myController = New ServiceController("myWrondName")

i try :

if myController is nothing then
messagebox.show("This service doesn't exist"
end if

but IS NOTHING doesn't work with ServiceController

What can i do ?
 
The constructor doesn't actually do anything except some syntax checking. If
you want to know if your Service is installed, get the Status property and
be prepared to catch an exception when it's not installed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top