I would agree with Ted. Visual FoxPro is not the best choice for a
service EXE as it is hard to make one that doesn't present any UI, and
you can't build one natively. Also if there is scheduling involved then
you are re-inventing the scheduling wheel too. .NET can create services
easily, however for any sort of complex scheduling you're looking at a
library called Quartz.NET. As Ted says, do a VFP exe that does what you
want once, then exits. Then use the power of the Windows scheduler to
run it as needed. There is no real need for this to be a service, or TSR
as they used to be called in the olden days.

-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm

On Tue, 11 Aug 2015, at 12:05 AM, Ted Roche wrote:
> I haven't heard TSR in a long time :)
> 
> I'd recommend you develop the functionality as a plain 'ol FoxPro EXE
> and then launch it every 15 minutes (or 10 or 5, depending on how much
> precision you need) that opens, reads the tables, pops up its
> reminders, then closes. Add it to the Windows Schedule Tasks applet,
> which has a decent app for scheduling that lets you set things like 8
> AM to 6 PM, Monday through Friday, for example.
> 
> 
> On Mon, Aug 10, 2015 at 1:30 PM, jerry foote <[email protected]>
> wrote:
> > I would like to create a application in visual Foxpro that monitors some
> > tables and triggers some alarm based on dates and times in a table and run
> > in background like a TSR.
> > Is this possible in VFP9
> >
> > Thanks jerry
> >
> >
> >
> > --- StripMime Report -- processed MIME parts ---
> > multipart/alternative
> >   text/plain (text body -- kept)
> >   text/html
> > ---
> >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to