How to get a list of updates

Today of my team members asked me, how to get a list of Office and Windows updates. Surprisingly, I realized, that there is no easy way to do it (or at least I couldn’t find it ) – finally came up with following code snippets: ‘For getting a list of office updates ‘— — —…


Word 2007 “Save As Word XML document” and back without automation – 1

Did you even had a look at new Word XML File? or … like me, you also assumed that it’s going to be same or similar to Word 2003 XML? Yesterday … one of my fellow MSFT was  working on Packaging API to create and modify a document. We had a quick conversation … Manjunath…


Open XML for primary school goers

Ok ..I agree! I was not a simple-sober-studious-obedient-goodie-good student. I do remember when I was a primary school goer, whenever me or any of my friends wanted a leave, we almost always used the same letter template, just modifying a few fields. Yesterday, I was thinking about this. While working on an Open XML issue…


Creating a Open XML PowerPoint presentation from scratch using System.IO.Packaging

Here is how I’ve got to create this sample – One of my customer had a similar requirement when I tried to search a sample for him to demonstrate, I couldn’t find one (blame it on my searching capabilities or whatever .. ) While creating a sample there are a few titbits that I came…


Couple of issues in PowerPoint 2007

One of my customer reported a couple of very interesting issues (bugs?) in PowerPoint 2007. If you have a presentation which has a shape with a gradient and you try to find out the color of each gradient using GradientStops.Color.RGB from .NET, you might get incorrect results. You can also reproduce this issue from VBA…


Open XML Format SDK April CTP – Released !!

It’s there, Open XML SDK April CTP is released, it’s for all of us – the proud office developers 🙂 I was waiting for it!  Erica – thanks a lot … (in fact I was searching for this last week, but couldn’t find it … well, I was a bit early). Also, you might want…


Responding Armagan – Display Thumbnails For Every Page Of A Document

Here is one of the question from one of you regarding the contents on Display Thumbnails For Every Page Of A Document . === Hi. I’d like to thank about your EnhMetaFileBits code, it helped me alot. If you don’t mind I’d like to ask you something about that. Can you please give me any…


How to use get the HTML contents of the document using IDataObject

Sure, I know there are many ways of doing it –  You can save it as HTML and then read the HTML file or you can use the HTMLProject items from the Word OM or you can just select all the contents of the file and save it to clipboard and read it from there….