FileSystemWatcher ActiveX control to be available soon.
http://www.news2news.com/vfp/?solution=8Summary:
The FileSystemWatcher ActiveX control (ATL) listens to the file system change notifications (files and directories on a specified path created, deleted, renamed or changed) and raises events on a client (VFP form, VBA form), notifying about the changes.
Essentially the control is a wrapper around the
ReadDirectoryChangesW API function, which mostly defines the way this control operates.
The control is designed for using in a single threaded environment, like Visual FoxPro application. It is achieved by running separate watching and notification threads, and by storing file changes data in control's internal buffer (a queue) before passing them to client.
Tested on WinXP/Vista/Win7, VFP8/9.