Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Changing Word references in project

Posted on 2013-06-20
Medium Priority
Last Modified: 2013-06-21

I have created an application which generates a word document.

In my project references I have Microsoft Word 14.0 Object Library.

The app works fine on my development machine, which has Office 2013 installed.  If I transfer the app to system with Office 2010 on I get the error "Could not load file or assembly Microsoft.Office.Interop.Word, Version=

Please could you tell me the adjustments I need to make the app 2010 compatible.  

Question by:Petermcg001
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 70

Expert Comment

by:Éric Moreau
ID: 39263330
the best thing you can do is not reference Office but an external third party like to create documents
LVL 70

Expert Comment

by:Éric Moreau
ID: 39263334

Author Comment

ID: 39265779

Thanks for looking at this.

I actually used the MS example as the basis of my code so I'm not sure what to change in the references.
LVL 70

Accepted Solution

Éric Moreau earned 2000 total points
ID: 39265830
Sorry, in my second comment, I meant to use Late Binding. This way, you remove every reference to Office.

Check "Create an Automation Client That Uses Late Binding" from

Author Closing Comment

ID: 39265965

That works fine

Thank you so much!


Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question