Locked Office 2003 Interop

  • Friday, December 02, 2011 1:36 PM
     
     

    Hello

    I am developing a simple application for my client which reads and writes some data to and from Excel and Word. I am using Visual Studio 2010 and have Office 2007 on my development PC. Everything works fine.

    My client has now decided they want to use my application on a PC which runs Office 2003. I ran the application on this PC just to see what would happen and an error was raised because the application could not find the Word v11 components.

    Can anyone please suggest how I can enable my application to communicate with either Office 2007 or Office 2003 applications.

    I have downloaded the Office 2003 PIAs but am cautious of installing these and pointing my references to them in case I mess things up.

    Regards

    Chris

All Replies

  • Friday, December 02, 2011 8:25 PM
     
     Answered

    You have to recompile with the reference with the right Version ...

    This said, It may mess a few things up, There is some differences between the code of both version. It mostly depend on what function your code uses