C# dll use in Excel

E

ewm

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top