July, 2006

Doug Mahugh

Microsoft Interoperability Team
  • Doug Mahugh

    CreateXlsx sample program

    This post covers the code for a CreateXlsx program that creates a simple Open XML spreadsheet from scratch using the .NET Framework 3.0 packaging API (System.IO.Packaging), as well as two of the Open XML code snippets that are available on MSDN . Full source code for this sample is provided in the attached ZIP file. This is the second in a series on how to create Open XML documents natively in C# managed code without using the Office client applications. ( Here's the DOCX version that I already...
  • Doug Mahugh

    Business Data Catalog Simplified

    If you've ever seen a demo of the cool new BDC functionality in Microsoft Office Sharepoint Server 2007, you've probably come away with two conclusions: 1) It's an incredibly powerful and flexible concept. (XML configuration files that connect Sharepoint's search functionality to back-end databases, web services, and other types of custom applications.) 2) It looks like a pain in the ass to work with. The required XML files are very complicated, and -- as several of my friends in the TAP and...
  • Doug Mahugh

    Open XML Compatibility and Rehydration

    The new Open XML file formats offer true compatibility with all of the billions of Office documents that already exist. You can take any existing Office document (well, any created in the last decade or so), open it in Office 2007 Beta 2, and then save it as an Open XML Format document that will look like the original, print like the original, and behave like the original. In addition to this type of compatibility between documents, however, there's also another type of compatibility that people...
  • Doug Mahugh

    C# Conventions and Project MRU Cleaner

    I had a lively conversation with my manager yesterday afternoon about C# programming conventions. I was arguing for clarity and readability, and he was arguing for consistency with prevailing C# coding conventions. I'm a big fan of using white space to aid readability, in all forms of written communication, and I've always felt source code should be written for humans first, compilers second. (Back in the old days, this was derisively referred to as "pretty-printing" by those who didn't agree.) ...
  • Doug Mahugh

    Minimizing VPC Image Size

    If you use Virtual PC, here's a great post by Jeff Atwood on how to create a minimal Windows XP/SP2 platform for a baseline image to build upon. His approach gets the image down to 758MB, and it's only 243MB when compressed with WinRAR! If you're not up on the latest Virtual PC news, like the fact it's now a free download, click here to learn more.
  • Doug Mahugh

    Office Design Page

    I saw a reference to the official Office design page in Jensen Harris's latest post . It's really cool, check it out! It has a nice crisp design, and more personality than most of these sorts of resources. "People spend more time with Office than the love of their life." So true.
  • Doug Mahugh

    TechReady3 and Open XML

    This week we're having a huge conference at the convention center in Seattle for Microsoft employees. It's called TechReady, and it's an opportunity for salespersons, consultants, evangelists, and others from around the world to travel to the Redmond area and here all about current and soon-to-be-released technologies directly from the product groups themselves. It's also an opportunity for those of us at the home office to bone up on what's going on, so I'm attending as many sessions as I can fit...
  • Doug Mahugh

    Introduction to the WSS V3 Object Model

    It's been a while since Dan Winter has posted anything on his blog, but it was worth the wait. His introduction to the WSS V3 object model is full of useful hands-on info about differences between V2 and V3, and includes a great set of links to useful resources for Sharepoint developers. Dan is on the escalation team, which means he helps deal with the most complex Sharepoint development issues that come in from customers and partners in the early-adopter programs.
  • Doug Mahugh

    ODF support? In Office?

    Well, not built-in, but today's announcement of the Open XML Translator , an open-source project to deliver an ODF add-in for Word 2007, means that you'll be able to easily create ODF documents from Word 2007 if your organization has standardized on ODF. And Excel/Powerpoint versions of the converter will be available some time next year. I love this news, because it means we can stop talking about ODF support as if it's a "missing feature" and instead focus on which desktop apps deliver the best...
  • Doug Mahugh

    .NET User Group and Open XML

    Last night I had the opportunity to give a presentation on Open XML development at the monthly meeting of the Seattle .NET User Group . As promised, here's a wrap-up of the links I mentioned in the presentation: Where to download the schemas: Office Open XML schemas (Ecmas draft version 1.3) Where to get the .NET 3.0 System.IO.Packaging API: WinFX February CTP Package Explorer utility: shared source project on CodePlex compiled copy on OpenXmlDeveloper.org Blogs covering Open XML development...
Page 1 of 2 (12 items) 12