DLL for use in Office applications

  • Thread starter Thread starter Morten Snedker
  • Start date Start date
M

Morten Snedker

If made myself a DLL-file containing classes I wish to use in Office
applications (Access/Excel).

How should I register the DLL to make it work with these applications?
I've tried using RegAsm.exe, but maybe I've been using wrong
parameters.

I also tried to from the Office-app to point directly to the DLL, but
this don't work either.

Thx in advance for any help!

Regards /Snedker
 
Well, seems like I need help anyway. "Register for COM InterOp" is
checked, which makes it work on local PC. But how do I distribute and
register the DLL on external computer?


Regards /Snedker
 
Thanks for telling this, I saved it in my snippet directory

Just want to add that I can't get dll-files to work with Office.
However, registering with Regasm.exe with the /tlb set - giving a
tlb-file - makes all work well !


/Snedker
 
Well, seems like I need help anyway. "Register for COM InterOp" is
checked, which makes it work on local PC. But how do I distribute and
register the DLL on external computer?

As stated in other part of this thread: register with regasm.exe using
the /tlb .. and it works.

/Snedker
 

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

Back
Top