Agile Tortoise
Greg Pierce’s blog
« OpenXml, back to reality Servoy community »
Word 2007 - System.IO.FileSystemWatcher followup
Ok, just to followup, I figured out the deal with Word and FileSystemWatcher that I posted about the other day. Don’t know why this wasn’t obvious to me, but Word, rather than saving a file like 99.9% percent of the applications on the planet do, instead works on a hidden temp file, saves it, then renames it to replace the original.
I wasn’t trapping for “renamed” events in my FileSystemWatcher, so I was missing out on all the fun! I’ve corrected this, while, of course, also having to filter out the rename events triggered by the temp file, and I’m back on track. Joy.