ezeason Posted April 14, 2005 Posted April 14, 2005 I was told that their was a why to detect if a file or folder changes. Does anyone know about this? If it exist I need to know if the app must be running to detect the change? It will be watching a file and folder that my only change once a week. :confused: Quote
Mister E Posted April 14, 2005 Posted April 14, 2005 Have a look at the FileSystemWatcher class. Quote
Leaders snarfblam Posted April 14, 2005 Leaders Posted April 14, 2005 Yes... your program must be running on order to detect that a file has changed using the FileSystemWatcher class. If you need to detect if the file changed between instances of your app, you could concievably copy the file when the app is run and next time it is run, compare the copied file to the origional. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.