Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a VFP service - actually making it work
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00587501
Message ID:
00587520
Views:
22
The srvany.exe and srvinstw.exe are MS programms from the Windows 2000 Resource kit. The reason I pointed you to that thread because it discussed a problem similar to yours.

>Thanks. Isn't there a way to do this without a third-party product?
>
>
>>>There is nary any documentation on doing this in VFP.
>>>
>>>I setup a simple little program to test how to create a service in VFP7 using SYS(2340, 1). I created it as an EXE. I installed the Windows 2000 Resource kit and ran the Service Installation Wizard. That went well and it added the 'VFP Service Test' to the services control panel.
>>>
>>>The problem I am having is when I start the process in either 'Interact with Desktop' mode or no interation the Service Manager is coming back with:
>>>
>>>"Error 1503: The service did not respond to the start or control request in a timely fashion"
>>>
>>>The program is actually running in the backgroud the whole time the starting service progress bar is running.
>>>
>>>What do I need to do in the program to tell the Service Manager the process has started?
>>>
>>
>>Take a look at Thread #584505.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform