[AccessD] NTFS new/changed file report by OS in Access

Drew Wutka DWUTKA at marlow.com
Fri Nov 28 18:15:08 CST 2003


Actually, if you use the API (don't remember the name off the top of my
head), but it works perfectly, no matter what the traffic is.  It even works
on remote machines.  So you can 'hook' into another NT 5.0 or higher machine
and watch all activity on a file/folder/directory. (No timers
involved...though it does use API timer events not to continuously monitor a
drive, but instead to force the loop.)

Drew

-----Original Message-----
From: Gustav Brock [mailto:gustav at cactus.dk]
Sent: Friday, November 28, 2003 3:37 AM
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] NTFS new/changed file report by OS in Access


Hi Erwin

> NTFS  has the posibilty to report to an app when a new file  is added or
> changed in a folder.
> So instead of screening a folder for new files app, its rather the OS
> that reports to the app that new or changed files are in a certain
> folder.
> Has anyone tried to use this in Access?
> I supose this is some kind of an API call.
> This is very true for WXP don't not for W2K.

Yes, Jürgen Welz helped me with this for Win2000 but it appears to
only work reliably for changes "now and then", not for busy traffic.

Look up the archive on these:

  2002-02-19: On Timer Events

and a repost/quote

  2002-04-23: Monitoring Directories

If you can achieve better results I would be most interested in
learning about it.

/gustav

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


More information about the AccessD mailing list