Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Starting and stopping .exe frequently
Message
 
 
À
25/07/2012 15:34:53
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01549253
Message ID:
01549274
Vues:
55
Thank you. I believe I did see this post a long time ago. But never actually built a service. I will check it out again.

>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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform