Microsoft.Office.Interop.Word: where is the default version when installing multiple versions of Word?

I have multiple versions of Word installed on my machine (Word03 and Word07). Currently Word07 is set as the default version (which I also checked in the Windows Registry).
In a C # project, I am using a library Microsoft.Office.Interop.Word

referencing Microsoft Word 12.0 Object Library.
But when I create a new application by calling

Application app = new Application();

      

version 11.0 (Word03) is used anyway. So I'm wondering where the default version is defined which is used when building new applications.

+3


source to share


1 answer


When you add the link, you will find it there i.e. it should be like 8.0 or close to that number (for 2003 version) so first remove the link for 12.0 and then add it with the smaller version



0


source







All Articles