Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running an VFP EXE as a service - Or trying...
Message
De
13/06/2007 21:06:37
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Running an VFP EXE as a service - Or trying...
Divers
Thread ID:
01232833
Message ID:
01232833
Vues:
64
I'm trying to following with my own exe, but I'm getting "Invalid Service Name" when I try to start/stop the service. I'm send "" instead of "myparm1 myparm2" as I don't have any parameters setup yet. I know that the name is correct in the REG file, and the name of the EXE. Whassup with this? Thanks!
Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VFPSrv\Parameters]
"AppDirectory"="d:\\fox90\\test"
"Application"="d:\\fox90\\test\\vfpsrv.exe"
"AppParameters"="myparm1 myparm2"

You can use the VFP command window to control the service:

!net start vfpsrv
!net stop vfpsrv

or the DOS command window:

net start vfpsrv
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform