Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run as a service
Message
De
28/01/2009 08:23:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Divers
Thread ID:
01375156
Message ID:
01377655
Vues:
32
Oh, don't worry about this (forget my previous message) - I had simply forgotten to include
SYS(2340,1) && Enable NT services
in the Visual FoxPro program. Including this, and installing the program with the freeware from

http://www.pirmasoft.com/runassvc.php

worked great.

Hilmar.


>If you have old FoxPro Advisor magazines (or the DVD) accessible there is an article about this. You can check out this:
>
>http://my.advisor.com/doc/14938
>
>but it won't let you see the entire article unless you're a subscriber. Looks like it's Jan. 2005, page 15. But that article helped me do it. The only thing was that the icon in the system tray would disappear even though the service was still running. Never did get that one figured out.
>
>
>>Vielen Dank!
>>
>>I actually managed to make this work, in the sense that I actually managed to install an EXE created with Visual FoxPro, as a service.
>>
>>Now, the next problem (sigh). We want this service to run all the time, independent of a particular user (that is, before login, after closing a session) - that was the idea of running as a service in the first place. However, when I close my session, Windows tries to close the program.
>>
>>Do you know whether any special properties have to be set for the service? Such as running under a specific account or pseudo-account, etc.
>>
>>>Here is a free Utility you can try:
>>>
>>>http://www.pirmasoft.com/runassvc.php
>>>
>>>Christoph
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform