|
|
||||||
|
#1
|
|
|
|
|
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 ? |
|
|
|
#2
|
|
|
|
|
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. |
|
|
| Similar Threads | |
| ServiceController?? 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... |
|
| ServiceController on Vista I have an administrative program (installed by click-once) that starts/stops a service running on the same machine. The ServiceController class can check the status of the... |
|
| Q: ServiceController Hi! I am using a ServiceController to start and stop my service. If i use the service localy and use the service controller it works fine. If i install the service on my... |
|
| ServiceController.GetServices( other pc ) Hi, On the 1.1 framework I couldn't find a solution to get a list of services from an other PC. Only a list of services on My local PC. (witch is strange i guess, as you... |
|
| Behind the scenes of ServiceController???? I want to know if ServiceController is a FULL MANAGE implementation or if is really a proxy over native api's or COM. Does anybody knows? Thanks in advance |
|
|
All times are GMT. The time now is 12:45 PM. | Privacy Policy
|