in

ASP.NET Weblogs

Drew's Blog

The Joys of Technology Explored

Office 2003 XML Shell Extension

...

I also noticed that Office 2003 must've installed some shell helper for XML files, because when I saved the file to my desktop, the shell peeked inside the XML file and gave me an XML document icon with the Excel icon overlaid across the upper left corner. I wonder why the file opened in my browser on double-click instead of into Excel...

...

[The .NET Guy]

I noticed this as well. Office seems to achieve this cute bit of functionality by inserting a PI into the XML instance document which the shell extension just scans all .XML files for to determine if the file should be opened with a specific Office application. The PI looks like this:

<?mso-application progid="InfoPath.Document"?>
Published Apr 29 2003, 04:29 PM by drub0y
Filed under:

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add