Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Starting and stopping .exe frequently
Message
From
25/07/2012 15:34:53
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01549253
Message ID:
01549271
Views:
58
There is a way make a your app.exe a windows service. The service can be setup to restart your app if it crashes or quits responding. Someone reboots the computer, the service automatically starts again. Take a look at Calvin's blog. http://blogs.msdn.com/b/calvin_hsia/archive/2004/12/13/282351.aspx

>I need to process an XML file(s) sent by an external application. I can make the external application drop the XML files in a folder and have a VFP with a timer to pick up these files. Or I can make the external program to automatically run a VFP application and pass it the name of the XML. The latter approach has advantage over the timer program: the timer program could crash and need to be restarted.
>
>>Why does the app need to start so often? It sounds like there is a better solution.
>>
>>>Hi,
>>>
>>>If a process external to VFP application starts a VFP exe application frequently (say every minute or even every half a minute), then lets VFP app process some day and then closes it, is there a potential problem with this scenario?
>>>
>>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform