>>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.
Thank you for both of your messages. How do you force VFP exe to behave like a console app?
And, when you created the C# application, did you use the console app?
"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