PC Review


Reply
Thread Tools Rate Thread

Deploying an Excel 2003 Automation addin (C#)

 
 
=?Utf-8?B?SXNhYWM=?=
Guest
Posts: n/a
 
      18th Jun 2007


I'm having some trouble in deploying the C# Automation addin on a user
machine.

To briefly tell you the situation, I had developed a C# Automation addin
using VS 2005 and it's working fine on my machine with Office 2003 . I wanted
to give this to another user for testing.So created an MSI with primary
output's Register property to "vsdrpCOMRelativePath".

Got it installed on the new machine ( with .net 2.0 framework and Office
2003).And started Excel and i can see the Addin in the List of addins (Tools
--> Addins), But when i try to enter the function in a cell it's not
recognised and on checking in the "Insert Function Dialog box" , my addin is
not appearing in the list.

I ran Regasm to ensure that the "Programmable" key is present for the dll.
And i can see that the dll is registered correctly

Secondly tried to GAC it. But without much luck... on googling a bit and
searching the msdn forums found an article
http://support.microsoft.com/default.aspx/kb/908002 .

I even tried the steps mentioned in this article. But still it's not working.

Any help to solve this issue is greatly appreciated. Please let me know if
you need any further info.

Thanks in advance for your help
Isaac Varghese
 
Reply With Quote
 
 
 
 
=?Utf-8?B?T3Rhdmlv?=
Guest
Posts: n/a
 
      17th Jul 2007
Hi! Isaac... It's been a long time that I have the same problems as you. I
corrected some, but not all of them. I can list the problems, if you want:

- problem: object com not recognised; solution: change the property
comvisible of file assembly. the propety must be "true".

- You must install O2003PIA.exe and vstor.exe for run the automation add-in
create by VSTO.

- You must have the .NET Framework 2.0 installed

- If your add-in is visible in Excel, but not his functions, you must change
the declarations of functions. The functions declared as Static doesn't
appear in Excel.

It works fine in my computer, but unfortunantely my automation add-in
doesn't work in another computer ... If you trouve une solution, write me
please.

thank you!


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deploying Excel 2007 VSTO Addin Ross Culver Microsoft Excel Programming 0 28th Feb 2009 07:26 PM
Deploying an Excel 2007 VSTO Addin Ross Culver Microsoft Excel Programming 0 27th Feb 2009 09:12 PM
C# Excel Automation AddIn Help message My interest Microsoft C# .NET 0 18th Dec 2007 07:24 PM
Problem deploying an automation addin (VS2005, Windows XP SP1, Excel XP) BlueTrin Microsoft Excel Programming 1 6th Jun 2006 11:29 AM
Automation COM Addin with Excel Puneet Microsoft Excel Programming 0 12th Jul 2004 07:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:25 AM.