Hi Ramil,
Check these code samples:
Monitoring changes occurring within a directory (Win2K/XP)http://www.news2news.com/vfp/?example=400Monitoring changes in a directoryhttp://www.news2news.com/vfp/?example=117Those might work for you, though consider single process/thread limitation for VFP.
The first example uses
ReadDirectoryChangesW API function (Win2000/XP).
The second one uses set of API functions and Timer object
FindCloseChangeNotification
FindFirstChangeNotification
FindNextChangeNotification
WaitForSingleObject