Robert McLaws: Windows Edition

Blogging about Windows since before Vista became a bad word

Vista & Office 2007 Preview Handlers

One of the cooler Vista features that I've started using more often is the File Preview in Windows Explorer. Being a developer, most of the files I work with are code files of one form or another. I didn't think there was any reason to use the File Preview feature... until I came across a couple of Preview Handlers that caught my attention.

I also came across an article from MSDN wiz Stephen Toub. He built a simple application that lets you edit the Preview Handlers associated with a particular file type. They're very useful, but unfortunately the code does not work on Vista x64 (dang that phrase is WAY more common than it should be). So I took his code, and made some adjustments. The cool thing about Steven's utility is that you can use it to extend the Code Preview Handler Pack listed above to process .ashx, .ascx, and .asmx files as well. Anyways, I've posted a zip file containing the executable, as well as the modified source code.

So do you know of any cool PreviewHandlers? If so, please share!



  • Troy Goode said:

    This is incredibly useful Robert, good find! Now to look around for an xml previewer for .config files... do you happen to know of any?

    December 30, 2007 10:43 PM
  • Brandon said:

    Wow, this is neat, but I use x64, what a shame :(

    December 31, 2007 12:31 AM
  • As I said, this code works on x64.

    December 31, 2007 11:50 AM