473,386 Members | 1,867 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,386 software developers and data experts.

C# COM addin - please help

Hello,
I wrote a simple addin for Excel using C#. It works great on my development
machine.
However, when I installed the package to another machine, the COM addin does
not show when open excel application.
Question: What do I need to do to resolve this problem?
Thanks in advance!

DH
Oct 19 '06 #1
3 1309
If you're written it with a COM wrapper then do you need to register it
first with regsvr32.exe?

--
Chris Fulstow
MCP, MCTS
http://chrisfulstow.blogspot.com/

news.microsoft.com wrote:
Hello,
I wrote a simple addin for Excel using C#. It works great on my development
machine.
However, when I installed the package to another machine, the COM addin does
not show when open excel application.
Question: What do I need to do to resolve this problem?
Thanks in advance!

DH
Oct 19 '06 #2
I created the project using the VS2003 wizard. It also create the
'installation' package.
I assume the install will handle those registration when running setup on
the target machine.
Now, I try regsvr32, it results error of 'No entry point'. But I used regasm
it registered fine.
Again, It still does not work on the target machine.
(The addin project is to add a button to the Excel toolbar)

Any other advice?

Thanks

DH
"Chris Fulstow" <ch**********@hotmail.comwrote in message
news:11**********************@f16g2000cwb.googlegr oups.com...
If you're written it with a COM wrapper then do you need to register it
first with regsvr32.exe?

--
Chris Fulstow
MCP, MCTS
http://chrisfulstow.blogspot.com/

news.microsoft.com wrote:
>Hello,
I wrote a simple addin for Excel using C#. It works great on my
development
machine.
However, when I installed the package to another machine, the COM addin
does
not show when open excel application.
Question: What do I need to do to resolve this problem?
Thanks in advance!

DH

Oct 19 '06 #3
Installation project generated by VS only registers your add-in as a COM
object. It does not add necessary entries to the Excel's registry. On your
development machine that was done by VS wizard rather than by setup project:
that is why your add-in works on your dev PC.

"dhuynh" <dh*********@yahoo.comwrote in message
news:OQ**************@TK2MSFTNGP04.phx.gbl...
>I created the project using the VS2003 wizard. It also create the
'installation' package.
I assume the install will handle those registration when running setup on
the target machine.
Now, I try regsvr32, it results error of 'No entry point'. But I used
regasm it registered fine.
Again, It still does not work on the target machine.
(The addin project is to add a button to the Excel toolbar)

Any other advice?

Thanks

DH
"Chris Fulstow" <ch**********@hotmail.comwrote in message
news:11**********************@f16g2000cwb.googlegr oups.com...
>If you're written it with a COM wrapper then do you need to register it
first with regsvr32.exe?

--
Chris Fulstow
MCP, MCTS
http://chrisfulstow.blogspot.com/

news.microsoft.com wrote:
>>Hello,
I wrote a simple addin for Excel using C#. It works great on my
development
machine.
However, when I installed the package to another machine, the COM addin
does
not show when open excel application.
Question: What do I need to do to resolve this problem?
Thanks in advance!

DH


Oct 21 '06 #4

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

Similar topics

1
by: Eric | last post by:
I would like to Write an Excel Addin like the Outlook Addin in the COM samples but i am stuck since after examining the windows registry, there is no Excel addin Key. The application would...
8
by: Jaime Rios | last post by:
Hi, I created a COM AddIn for Word that performs the functions that it needs to, but I needed to add the ability for the toolbar created by the COM AddIn to remember it's last position and...
0
by: Robert | last post by:
I want to disable Class view by an Addin VS.net 2003 How do I do that... In VS 6 there was an registry entry that could disable the class view... I know how to disable the class view for the VS7...
3
by: Nadav | last post by:
Hi, I am writing a .NET (C#) Addin, I Wonder... how can I cause my addin to react to key strokes ( e.g. pressing F1 ). ThanX Nadav.
0
by: emmett | last post by:
i've created a COM addin for several office applications (word,excel,ppt) and have put a commandbarbutton into each. Clicking this button calls a form. This form acts as a user interface to the...
0
by: guilligan.geo | last post by:
Hello, I'm trying to create an addin for Outlook 2002 using the one provided in the demo of win32com as a starting point. I've been able to do my addin and test it if I go the "standard" way...
7
by: Joseph Geretz | last post by:
I've been working on an Addin for Outlook in C#. It hasn't been long now, just a couple of days. Suddenly though, running my project in Debug launches Outlook as specified, but no breakpoints...
6
by: Joseph Geretz | last post by:
I'm porting a C# Outlook Addin originally engineered as a COM Addin over to use VSTO. I've gotten this to the point where my VSTO Addin installs its Menu items and Toolbar buttons when Outlook...
1
by: Rainer Queck | last post by:
Hello NG, I moved my AddIn Project from one machine to a other. This AddIn is a AddIn for Visual Studio 2005.
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...

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.