Why does explorer tell me the file was opened by the wrong program?

(or why Windows Audio is holding an Event Log file open) Today’s blog post will be about the “File in use” dialog. You may have encountered this dialog when trying to delete a file that you happened to have already open. In Windows Vista, all you got was “this file is open in another program”….


Why do .zip files from Mac OS show up as green/encrypted?

It’s kind of funny really. The ZIP specification mandates that a program/OS creating a zip archive include a tag informing about itself to the program trying to decompress the archive. This information is called “version made by”, and looks like this: 0 – MS-DOS and OS/2 (FAT / VFAT / FAT32 file systems) 1 -…


System Tray Notification area icons

If you’re a developer writing for Windows 7, you’ll probably have noticed that icons in the System Tray aren’t shown by default. Raymond Chen blogged about this recently, here and here. Notification icons are identified by a GUID, a Globally Unique IDentifier, which is just a big number. The idea is that each application that…


So, what has your team been up to for the last six months?

I know, everybody must be asking themselves this question. Luckily, I can now show you a bit more of what my team and I have been working for the better part of 2011! Enter what we call the “Windows 8 Copy UX” Read Steven Sinofsky’s blog entry for the full details: Build Windows 8 -…


Windows+X is not really Windows+X

  I recently had to look into a Group Policy called “Turn off Windows+X hotkeys”. Apparently a lot of people interpret this as meaning “Turn off the Windows+X hotkey”. Ah, the joys of semantics: Policy Turn off Windows+X hotkeys Category Path User Configuration\Administrative Templates\Windows Components\Windows Explorer\ Supported On At least Microsoft Windows Server 2003 Registry…


Getting the Printer Friendly name from the Device Center shell folder

If you are writing a context menu for the device center, you will probably need to get the “canonical” or “friendly” name of the printer or device that the user has right-clicked on. While your context menu extension gets passed a data object that should contain this information, it unfortunately doesn’t. However, here’s some code…