.Net C#: support differnt Office versions

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2011-06-21T20:06:19Z Indexed on 2011/06/22 0:22 UTC
Read the original article Hit count: 269

Filed under:
|
|
|

We created an application that uses Office 2007 (Excel 2007) to read in data from an Excel worksheet. However. I noticed that when I want to deploy the application on a system with Office 2003 installed, it crashes because other PIA's (and other dll's) need to be referenced for this version of office. Do I need to compile different versions of my application to be able to support different versions of Office or is there a more ellegant solution for this problem? I use Visual Studio 2010 (C#) and the .Net 4.0 platform.

Many thanks

Chris

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET