473,732 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.Micros oft.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.Micros oft.Office.Core ' could not be
found."
+ "The referenced component 'Microsoft.Offi ce.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(unde r .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 2576
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.Micros oft.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.Micros oft.Office.Core ' could not be
found."
+ "The referenced component 'Microsoft.Offi ce.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(unde r .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
1521
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 without simply launching the Office setup and requesting the user make the changes manually. Is there any way that I can seemlessly enable the .net Programability with code? The company have included Office 2003 in our standard load but did not...
1
1530
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 registry key: HKEY_CURRENT_USER\Software\Microsoft\Office\OfficeApp \Addins\ProgID
11
1568
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!? gicio
0
1386
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 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Excel\Addins but when i open excel it is not loading the addin. In the onConnection function i have added code to display the message box, but the control never goes there ...that means the DLL is not loaded .
3
2852
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 additionally pictures of the product are stored in an images subfolder and the database holds the file name of the relevant picture. The user can then click a button to display the picture in a pop-up window and also another button to email the potential...
3
5067
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 Excel. For example I want to specify command line switches, or prevent certain ComAdd-ins from loading when I start Excel.
1
5373
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 (RPC_E_SERVERFAULT))" Source="Microsoft.Office.Interop.Excel" StackTrace: at Microsoft.Office.Interop.Excel.ApplicationClass.RegisterXLL(String Filename) at WindowsApplication9.Form1.Button1_Click(Object sender, EventArgs e) in C:\Documents and...
7
14398
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 Worksheets(1).Range("B9").Select
0
1191
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 split the ADP into two parts (both 2003 formats) -- One having only forms, modules and macros while the other ADP have only Reports. Now i have report class in both ADP (having forms and another one having reports). Now i was thinking to create an...
0
9307
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9235
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9181
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.