Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing an app stops a service
Message
From
04/10/2007 15:16:21
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Closing an app stops a service
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01258680
Message ID:
01258680
Views:
57
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
Map
View

Click here to load this message in the networking platform