Welcome to MSDN Blogs Sign in | Join | Help

Andrew Whitechapel

Shiny things that caught my eye

Browse by Tags

All Tags » Office dev » COM add-ins   (RSS)
Exposing Events From Non-VSTO Add-in Automation Objects
I posted a while back about exposing an automation object from an add-in that fires events . That post was couched in terms of VSTO add-ins. A customer asked recently how the same technique could be used in a non-VSTO add-in. So, that’s the topic of this Read More...
Launching Office Apps Programmatically
There are at least 9 different ways to start or connect to an Office app programmatically in managed code, as summarized in this table: PIA Interop Using the Office PIAs is the most RAD approach, with the greatest level of design-time and compile-time Read More...
Exposing Events from Managed Add-in Objects
Following on from my recent posts on exposing add-in objects, here and here , it occurred to me that its sometimes useful to be able to expose events from these objects. Recall that you can expose your add-in through the COMAddIn.Object property in the Read More...
AddInSpy - Diagnosing/Troubleshooting Office Add-ins
AddInSpy is a new diagnostic tool for reporting the maximum possible information about all Office add-ins registered on a machine. This is a free (unsupported) download, available on MSDN Code Gallery here . Covering article on MSDN here . In fact, there Read More...
COM Shim Wizard 2.3.1.0
We’ve released a slight update to the COM Shim Wizard. This is available as a free download here , and the covering article is on MSDN here . The differences Between v2.3.0.0 and v2.3.1.0 are summarized below. Setup The major difference between v2.3.0.0 Read More...
Add-ins for Multiple Office Versions without PIAs (Pt2), or _VtblGap
In my last post , I discussed how you could avoid any dependency on the Office PIAs by using ComImport to redefine the host application’s OM interfaces. Someone (A Developer) pointed out that I had actually omitted the trailing 2 members of the IRibbonControl Read More...
COM Developers are from Mars, VBA Developers are from Venus, or: Typing, Binding and Wrapping in Office Development
I paused over my final mince pie today, and pondered the psychology of Office developers (as one does). Office development is a curious mix of different programming philosophies that has given rise to a number of interesting behavioral practices among Read More...
Page view tracker