Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Category:
Forms & Form designer
Title:
Closing an app stops a service
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only