Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 9 Service app
Message
From
11/05/2021 11:42:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01680208
Message ID:
01680305
Views:
59
>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

Yes.
I have done that in both VFP and C#, works fine.
If your data is in DBFs, VFP is the obvious choice.

There is a way to force a VFP exe to behave like a console app (command line, looks like Dos)

Nobody is going to see that exe run, so logging is your friend.
My experience is that using a form can make the app hang, so I just make Console apps for use in scheduler.

If you like, I can extract some code from my project and send to you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform