Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Deploying an Excel 2003 Automation addin (C#)



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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Deploying an Excel 2003 Automation addin (C#)

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF's via Automation Addin in Excel 2010? Ralf Steinstraesser Excel Worksheet Functions 1 February 15th 10 03:44 PM
Unshimmed Automation Addin and Shimmed COM Addin in same App Domai Brandon Excel Programming 0 June 27th 06 11:18 PM
Problem deploying an automation addin (VS2005, Windows XP SP1, Excel XP) BlueTrin Excel Programming 1 June 6th 06 11:29 AM
Installing Addin via Automation Aragorn[_2_] Excel Programming 6 October 26th 05 10:54 PM
Automation COM Addin with Excel Puneet Excel Programming 0 July 12th 04 07:50 PM


All times are GMT +1. The time now is 03:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"