WIth the aid this function I almost have what I want. The only thing I am having trouble with is this functions waits until some file activity occurs. I have tried to make it asynchronous, but I guess in am not setting the arguments correctly. There are very little in examples on the web that are not written C++. A vb or vfp example would probably help.
>ReadDirectoryChangesW Win API function monitors a directory and returns a reason
http://www.news2news.com/vfp/?group=27&function=628>
>>Almost what I am looking for. Now if I could retrieve the file name and reason for the notification (create,write,delete,rename). I looked around News2News but did not see anything that would provide the information based on the Notification Handle.
>>
Greg Reichert