1

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?

kidoman
  • 2,402
  • 5
  • 26
  • 35

2 Answers2

2

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
  • 4,940
  • 2
  • 26
  • 43
1

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

Francesco De Vittori
  • 9,100
  • 6
  • 33
  • 43