I working with vb.net 2005. I created a Class Library project and add a COM
Class to the project. I set COM interoperability, and COM visibility of the
project.
Also I set a strong name of assembly.
I compile all in a dll file.
Now, if I refer it in Excel 2003 VBA macro I view method and properties
correctly, but if I run the macro, VBA say me that dll class not found.
Why?
>I working with vb.net 2005. I created a Class Library project and add a COM
>Class to the project. I set COM interoperability, and COM visibility of the
[quoted text clipped - 4 lines]
>correctly, but if I run the macro, VBA say me that dll class not found.
>Why?
Probably because the CLR can't find the assembly. Since it has a
strong name, the easiest solution is probably to install it in the
GAC.
Mattias

Signature
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
NooS - 09 Mar 2008 20:18 GMT
I try to install the assembly in the GAC, but not work.
Another solution?
> >I working with vb.net 2005. I created a Class Library project and add a COM
> >Class to the project. I set COM interoperability, and COM visibility of the
[quoted text clipped - 10 lines]
>
> Mattias