Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API To Start/Stop a NT Service
Message
 
À
28/07/1999 11:30:46
Information générale
Forum:
Visual Basic
Catégorie:
Fonctions API de Windows
Divers
Thread ID:
00247180
Message ID:
00247222
Vues:
28
>Hi,
>
>Anyone knows the API call to start and stop a service running on NT ?

Guy,

I found the code online at http://home.earthlink.net/~butlerbob/vb/winnt/srvctrl.htm I'd post it here, but it's fairly extensive, but should do what you want, and more, like query if a service is running, start, stop, pause, continue (unpause) a service.

Hugo

p.s.: When are the meetings to the GVBM starting up again? I'm thinking of joining this year, just gotta be able to get to the meetings!
"My get up and go must've got up and went"
-Steve Tyler, Aerosmith
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform