The only way I know to have an application start up when something changes in a directory, is to create a Windows Service that creates a FileSystemWatcher on the director(y|ies) you're interested in...have the service spawn a new appdomain to do whatever work you need to do on the files/directories; that way an error won't total your Windows Service.
HTH J.T. -----Original Message----- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Clark, Michael (OFM) Sent: Wednesday, February 02, 2005 7:42 PM To: [email protected] Subject: [ADVANCED-DOTNET] Triggering on directory changes There's a term for it, but I can't remember it, and thus my attempts to get MSDN to cough up the info are fruitless. I wish MSDN had a natural-language interface so I could ask: "what is it called when you want to write an application that starts up when a file is added to a directory?" and give me a meaningful answer. Then again, if it could do that, we wouldn't need discuss.develop.com, would we? So, can someone tell me what this is called, and tell me where to look to find out how to do it? Thanks! =================================== This list is hosted by DevelopMentorR http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor� http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
