This page was generated automatically from The Delphi Super Page archive. If you have any remarks concerning this page please do not hesitate to mail me.
In your mail please do refer to your unique DSP author ID which is 0004039. This helps me to locate your data records in DSP databse.
 
Author/SiteName(Contact)e-mailHome Page
  Laurent Taupin | WPTechnology (Laurent Taupin) [email][Home]

 

 

Files

[ WPFilesNotifierDemo.zip ] [ 321,198 bytes ] [ Shareware ] [ No Source ]
[ D6 ]
I decided to create this component, because the Windows ShellChangeNotifier isn't able to return for what and where something happend !
So with this component, you can track a file or a dir (and sub dirs), and it returns for each file what happend : new file, file deleted or file changed.

Properties :

FileToSpy The filename to spy, if you run this component in smFile mode
PathToSpy The parent dir to spy, if you run this component in smPath mode.
ExcludeSubPaths Sub-path from the root path (in smPath mode) excluded of the spy mode
WatchSubTree if TRUE, then the subtrees of the parent dir are spied too (can consume processor time !)
RefreshFrequency milliseconds between which the component decide to finally call you (15000 (15 secs) is a good value)
SpyMode smNone : inactive, smFile : spy only the "FileToSpy", smPath : spy the Dir (and subdirs if checked)
ShowDebug returns debug information too (using neOther Status)
CallOnceByGroup make only a call (for a specific event), even if there were more than one file touched (used to say something like "they are new file(s) in dir" when files were added)
OnNotifyChange New notify function. It returns, for each file, its size, its attributes and the reason (File Changed, New File or File Deleted. neOther is a debug string) [more]
Added: 18-11-2002   |  Version: 1.02   |  Downloads: 323/323/1
Author:Laurent Taupin   Laurent Taupin | WPTechnology   [Homepage]   [DSP files]

 

1995-2006 Robert M. Czerwinski ( The Delphi Super Page a.k.a. DSP ).
All rights reserved.