VSTO Samples and How To's for the Outlook developer

I wanted to point out that the VSTO team had created some great content for developing VSTO solutions. They even have the Outlook developer covered.  Check it out: http://msdn.microsoft.com/en-us/library/bb386094.aspx

1

Troubleshooting Outlook COM Addins – Using Instrumentation

At this point, you should have done the following: Confirmed that COM can create your Addin using VBScript Confirmed that Outlook is finding your Addin’s registration and that the Addin is properly registered with COM Confirmed that Outlook is loading your DLL into it’s process Since you are confident that Office is at least loading…

1

Troubleshooting Outlook COM Addins – Using Process Explorer

Process Explorer is another tool in my arsenal when troubleshooting a COM Addin loading problem.  Often times developers will think that their Addin is not loading, when in fact it is.  The problem is that the Addin is not behaving as expected (e.g. “It’s not adding my toolbar button, when it should”).  To confirm that…

0

Troubleshooting Outlook COM Addins – Using ProcMon

As I explained in my first post, Office uses the ProgId found in the office specific Addin registry (\Software\Microsoft\Office\Outlook\Addins\) to activate the COM component.  Calling CoCreateInstance kicks off a series of COM calls which you can see the results of using Process Monitor (ProcMon).  ProcMon can be downloaded here http://technet.microsoft.com/en-us/sysinternals/default.aspx or if you have Windows…

0

Troubleshooting Outlook COM Addins – Using VBScript

Since Office uses COM to create Addins and _IDTExtensibility2 inherits from IDispatch it is available to scripting clients, a common technique I use to troubleshoot COM Addins are to see if I can create the component manually via a vbscript.  Use the following code to check whether or not COM can create your component:<code> Option Explicit…

0

Troubleshooting Outlook COM Addins - Introduction

I have decided to start a series called ‘Troubleshooting Outlook COM Addins’.  I want to outline tips and tricks to finding the root cause of COM Addin issues. Mainly, why the Addin doesn’t load.  I would say that this is the biggest call generator for our team at Microsoft so I thought having a series…

1

Why doesn't my Exchange Client Extension load on Windows Vista

We had several cases lately where customers are asking this very question.  The answer is basically User Account Control (UAC).  If a user is using Vista with UAC enabled Outlook is running with medium Integrity Level (IL).  When a process runs with medium IL it cannot delete registry keys from the HKEY_LOCAL_MACHINE hive. As documented…

0