Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 Service app
Message
 
 
To
07/05/2021 15:46:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01680208
Message ID:
01680219
Views:
50
>>>>Hi,
>>>>
>>>>I need to create a service application. Something that will run on a VM (server) unattended, 24/7, and without anyone logged in.
>>>>My question is, anyone created a service application with VFP 9 that runs successfully on Server 2019?
>>>>
>>>>The reason I am asking is to know if I should be looking for doing this (farm out) in .NET or VFP 9 will work just as well.
>>>>
>>>>TIA
>>>
>>>Get ServiceMill from: https://www.activeplus.com/products/servicemill
>>>
>>>Turns any app into a service and manages the whole thing for you including restarts etc. Works fine with VFP apps.
>>
>>Thank you, Jos.
>
>Here are the notes we use to set up a service with a VFP exe:
>
>On the machine / server that needs to run the service(s):-
>
>1) Unzip the zip file and run the included ServiceMill Setup program. Choose all the default install settings.
>
>2) Then run the Active+ control center (icon should be on the desktop)
>
>2.1) Choose the last icon on the toolbar - “Install a new service mill service”
>
>2.2) Enter a service name and description e.g. “My Service App”
>
>2.3) A tabbed dialog appears...
>
>2.4) On the Service-Mill tab use the “…” button to find the program to run as a service; “My_VFP_App.exe"
>
>2.4) Change the Start-up window to just “Minimized”
>
>2.5) Check the checkbox for the option “When the program starts restart it after…” and set the time to e.g. 120 seconds (2 minutes is suggested).
>
>2.6) Check the checkbox to show the icon in the taskbar so that it is visible on the taskbar
>
>2.7) Go to the General tab and set the service Start-up Type to “Automatic”
>
>2.8) Check the checkbox to “Interact with Desktop”
>
>2.9) Click the OK button. The service is now defined.
>
>2.10) Right click on the service which is now shown in the service list and choose “Start” or left click it and click on the play button in the toolbar.
>
>2.11) The program will now load up. Now just minimize the program and it will run in the taskbar system tray.
>
>There are, of course, variations to suit your specific needs but it is an excellent program and has been around for years.

Thank you very much.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform