Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running an VFP EXE as a service - Or trying...
Message
From
13/06/2007 21:06:37
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Running an VFP EXE as a service - Or trying...
Miscellaneous
Thread ID:
01232833
Message ID:
01232833
Views:
66
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
Next
Reply
Map
View

Click here to load this message in the networking platform