Using Office Component for Addins in .Net

  • Thread starter Thread starter ns2k
  • Start date Start date
N

ns2k

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 can't 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 won't 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?
 
It sounds like you don't have the Office Interops installed on the other
station.


ns2k said:
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 can't 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 won't 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?



----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption
=---
 
Back
Top