Hi Brian,

I've looked into it in the past to do it from native foxpro, but it prooved
to be extremely difficult. There are some API calls and structures needed as
well as a callback function that's called which is almost impossible to
create.
Having said that.....
In .NET ist's extremely easy to do, so I've created a class in .NET which
can be used in VFP as an ActiveX control where you can set some properties,
and implement code in the event that's triggered. Available for download @
http://www.sw-software.nl/Downloads/tabid/61/Default.aspx (FileMonitor).  A
demo on a VFP form is included.

Regards,
Sietse Wijnker

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Brian Erickson
> Sent: donderdag 27 juli 2006 19:08
> To: [EMAIL PROTECTED]
> Subject: Windows events
> 
> I am sure this is very simple.  How do I hook into a windows 
> directory event to tell when something in that directory has 
> changed???
> 
> 
> 
> 
> --- StripMime Report -- processed MIME parts --- multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
> 
> 
[excessive quoting removed by server]

_______________________________________________
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