Tim Murphy's .NET Software Architecture Blog


There are 2 entries for the tag VSTO

COM Interop Memory Leaks With Outlook 2007 VSTO Add-ins

Memory leaks can cause strange and unexpected behaviors in your applications. Of course in this day of managed code we don’t see it as often as we used to and many of us are getting rusty in our skill to eliminate these problems. Recently I ended up with a misbehaving Outlook 2007 add-in which resulted in time spent with Microsoft support. The first thing that came out of that was a way to detect if an Outlook 2007 is experiencing memory leaks. Below is a command line command that seems to report ......

Copying A Slide From One Presentation To Another

There are many ways to generate a PowerPoint presentation using Open XML. The first way is to build it by hand strictly using the SDK. Alternately you can modify a copy of a base presentation in place. The third approach to generate a presentation is to build a new presentation from the parts of an existing presentation by copying slides as needed. This post will focus on the third option. In order to make this solution a little more elegant I am going to create a VSTO add-in as I did in my previous ......