Hi!
You can run VFP application as a service using SRVAny tool from Windows NT Resource Kit. There is analogue tool for Windows 2000 - all are from MS. There are a few third-party tools that provide more options.
Also, just for simple tasks like doing something in period of time, the best approach is not a service, but usual application ran by Windows Task Scheduler at some period or moment of time. It is much better because require no service maintenance that is usually not a good thing. In addition, cheap service installing and running (like using SrvAny tool) does not provide an option for good shutdown - SrvAny just kills the application when machine shutdown or service stop without the notification to application.
>Hi,
>
>Can VFP 7 be run as a VFP service? Is there demo applications that one can test that could be set up as a Win32 service to identify the existence of a file, a change to it, or kick off a application at a set time?
>
>I prefer not to have to write it myself, but would like to find solutions that exist, at a reasonable cost. The only app I have seen that does this uses either/or jscript or vbscript, has a 'fill in the blank' interfaces, and costs 3k.
>
>Anyone have a better mousetrap?
>
>Thanks.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.