Petermcg001
asked on
Changing Word references in VB.net project
Hello,
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.W ord, Version=15.0.0.0.
Please could you tell me the adjustments I need to make the app 2010 compatible.
Thanks.
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.W
Please could you tell me the adjustments I need to make the app 2010 compatible.
Thanks.
the best thing you can do is not reference Office but an external third party like http://www.aspose.com/.net/word-component.aspx to create documents
or use Automation: http://support.microsoft.com/kb/316383
ASKER
Hello,
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
That works fine
Thank you so much!
Peter
That works fine
Thank you so much!
Peter