John,

Christof wrote a wonderful article in FoxPro Advisor that explains how
to do exactly what you want to do. Complete with code!

I think there may be similar code up on www.news2news.com? Worth
checking out.

Malcolm

<snip>
Monitor File Changes from Visual FoxPro
http://my.advisor.com/doc/17951

Download
http://my.advisor.com/wFiles.nsf/vFileID/granl72-04/$file/granl72-04z.zip

<snip>
Here's how make sure your application (almost) instantly knows when a
new file is added to a directory.
By Christof Wollenhaupt, contributing editor

Q: Our application needs to import files as soon as they are placed in a
particular directory. Instead of polling the directory for new files
every second, I want to use the Windows API. Could the new API binding
capability in VFP 9 help me in this regard?
</snip>


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** 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