debugging NetOffice.ExcelApi.Worksheet in VS2010 causes Outlook Wizard to start

Aug 29, 2014 at 9:41 PM
Edited Aug 31, 2014 at 9:27 PM
I swear. Seen this happen 10 times today.

Code:
protected virtual void WorkbookSheetActivate(NetOffice.COMObject sheetObj) 
{
  try
    {
      if (_sheetTaskPanes == null || sheetObj is Excel.Chart)     
So I hover over sheetObj and expand it, then expand the base and the base of that. Then I scroll down to ListObjects and EVERY TIME it causes Outlook to open. Since I don't have Outlook configured but do have it installed, it starts with the wizard.

Any suggestions here? This is just weird weird behavior but it's super annoying.

Edit: the debugger appears to be accessing the MailEnvelope (NetOffice.OfficeApi.MsoEnvelope) property of the object.
Coordinator
Sep 27, 2014 at 7:24 AM
I know this problem. This is an MS Office-problem.
Some years ago, i face the problem first time n VB6(in the debugger!!!!) while i try to analyze a collection in the watch window.
Not sure why but Outlook is started. NO idea why....

Anyway, this problem is regardless from any API. Its just a scary MS-behaviour. (Your outlook is not configurated and f*cking wizard dialog is shown)
I cant't change the office implementation ;)

*Sebastian