Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FileSystemWatcher ActiveX control
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
FileSystemWatcher ActiveX control
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Application:
Desktop
Miscellaneous
Thread ID:
01500037
Message ID:
01500037
Views:
200
FileSystemWatcher ActiveX control to be available soon.
http://www.news2news.com/vfp/?solution=8

Summary:
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.
Reply
Map
View

Click here to load this message in the networking platform