Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
ewm ewm is offline
external usenet poster
 
Posts: 1
Default C# dll use in Excel

How do I get my C# dll to work with Excel?
I developed a dll using C#. Everything works fine on the development
machine. How do I get this to work on other machines where VS is not
installed. My dll has a strong name, I have registered it using regasm
assemblyname /tlb, and I have installed in the GAC. If I browse and locate
the .tlb file and set a reference to it, then I can see it in object explorer
complete with exposed functions. It shows in intellisense if I set a
reference. The problem is it errors out when I try to instantiate the object.
The error is the system cannot find the file specified. I can post the code
if necessary; however, I am sure the code is fine because this works on the
development machine. I just can't get it exposed/registered properly on the
test machine that does not have VS installed. Thanks in advance for your
help.
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



All times are GMT +1. The time now is 07:13 AM.

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

About Us

"It's about Microsoft Excel"