473,326 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Using Office Component for Addins in .Net

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 =---
Nov 20 '05 #1
1 2563
It sounds like you don't have the Office Interops installed on the other
station.
"ns2k" <ni*@miracom.co-dot-il.no-spam.invalid> wrote in message
news:3f**********@127.0.0.1...
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

=---
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jason | last post by:
Hi, I have managed to automate the inclusion of the framework and SP into my installs but have hit a brick wall on being able to switch on the Programmabilty support for office applications...
1
by: Jacques | last post by:
Hello, I'm creating an Office Add-in. The add-in works OK (I used the KB Article - 302901). The article states that you can change the add-in list of Office Apps by modifying the following...
11
by: | last post by:
Hi! How to extand and access the internat Office object structure. Is there any Dev Kit for Microsoft Partners that in not available to "normal" users? Something like NOKIA back entrence!? ...
0
by: sandhya | last post by:
Iam trying to create a Excel Addin using Visual C# Extensibility projects and after building the project , the Dll is registered and the registry entries are added on to the registry key...
3
by: Siv | last post by:
Hi, A little while ago I wrote a small program that allowed the user to view products from a database. The database holds the details of the products which can be viewed via a form and...
3
by: Tim Marsden | last post by:
Hi, I am currently creating an instance of Excel using VB.NET Automation. dim xl as Excel.Application xl = new Excel.Application However, how can I have more control over the starting of...
1
by: Carlos | last post by:
I'm getting RPC error when I try to register analys32.xll in the VB program. ErrorCode=-2147417851 Message="El servidor lanzó una excepción. (Exception from HRESULT: 0x80010105...
7
by: Holger Fitschen | last post by:
Hi to all, I want to use the Excel solver in a VB.Net project. The macro Sub Makro1Solver() Application.Run "Solver.xla!Auto_Open" SolverReset Worksheets(1).Select...
0
by: sunil sharma | last post by:
Hi all, I have an ADP (2003 format) that has forms and reports. Report source was set in class module and the class module is totally handling the report. For some technical reasons, i have to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.