views:

31

answers:

2

We are currently investigating options for migrating a legacy application built using .NET 1.1 to .NET 4. Office 2003 was used in the application and we need to migrate away to Office 2010.

The old application used CDO/MAPI to interact with Excel/Outlook... so what is the prescribed p&p for accessing Excel/Outlook 2010 from .NET 4?

+1  A: 

I suppose VSTO (Visual Studio Tool for Office) is what you are looking for.

Francesco De Vittori
+2  A: 

It's still COM, but there have been some upgrades to make it nicer. Things like:

  • NoPIA
  • Optional Parameters
  • Optional ref Parameters
  • Indexed Properties

http://www.hanselman.com/blog/CLRAndDLRAndBCLOhMyWhirlwindTourAroundNET4AndVisualStudio2010Beta1.aspx

Fowl