Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Closing an app stops a service
Versions des environnements
Limited information on the code other than to say that I have a project called EMPS_Admin that uses a form to read/update registry key values and start/stop a service called EMPS. Funny thing is that when I quit/cancel EMPS_Admin, it kills the EMPS service. There is no code on shutdown that should affect the EMPS service. Any thoughts? I'll post code if anyone wants to see it, but there's a bunch and as much as I can tell, it's not code-specific as much as it is simply that when the EMPS_Admin closes, so does the EMPS service that's running. I'm using Shell.Execute.StopService and StartService and IsServiceRunning to handle the EMPS service, but nothing runs on shutdown except CLEAR READ.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement