Hello Rudy,
See FileSystemWatcher class in MSDN, there are several samples.
This class automatically raise an event when directory/file in a directory
changes
Just create app that will be located into tray area and notify u on each
file change
R> Hello all!
R> This is what I want to do, looking the for the best way to do this.
R> I have a text file that gets created and placed in a folder. I would
R> like to
R> have a watch for that file when it pops in that folder. But I would
R> alway
R> like to have the watch active. I don't want it at Form Load, and I
R> can't
R> have a button get clicked. I just would like to have when ever that
R> file gets
R> put in that folder, it performs my next step. I'll be staying on one
R> form.
R> How would I write this?
R> Thanks!
R>
R> Rudy
R>
---
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch