Using Office Component for Addins in .Net

ns2k

Member
Joined
Jan 4, 2004
Messages
13
I develop an Addins Project for Excel in Visual Studio.NET that I need it to work for any machine in any Microsoft Office XP.
I use the dependecy (reference) Interop.Microsoft.Office.Core(Microsoft Office 10 Component) for my project.
But it seem that its not work fine in others computers (differenct than the one I develop the project, where the addins work fine)
the Dot NET raise errors:
+ "The Dependecy Interop.Microsoft.Office.Core could not be found."
+ "The referenced component Microsoft.Office.Core could not by found. A wrapper assembly is not registered for this type library."
Q: How can I solve the errors above for others computers so the addins work for other computer?

When I start to create the Addins project the Dot NET use the reference office.dll(under .NET references).
I remove this reference because I needed the first reference(in order to use the office menus), and because those two reference cant work together(they have the same name).
Q: What is this reference? Can I use it to solve my problem? How?

For those who developed project using the Office component:
How did you make sure that you wont have problem using the application in other computer (using this component)?

For those who developed addins project in the dot net in the past:
How did you make sure that the addins work for other computer?
 
Back
Top