>I believe we did as described in
http://www.devx.com/codemag/Article/22404/1763/page/2 by, if memory serves me right, Claudio Lassale along with articles by Rick Strahl, but I don't get intellisense.
>
>Well, strictly speaking, I guess I do - but not quite what I expected.
>
>I also run:
>%systemroot%\Microsoft.NET\Framework\v1.1.4322\regasm.exe comtest.dll /tlb:.\Com.comtest.tlb
>%systemroot%\Microsoft.NET\Framework\v1.1.4322\gacutil /if comtest.dll
>
>Regardless, the intellisense popup always only displays Equals, GetHashCode, GetType and ToString, which appear to be some sort of default.
>
>TIA
>
>Peter
Peter,
I haven't checked the article but seeing regasm I assume you are talking about .Net COM. Then you need to have some attributes to make it visible. Something like this:
[ProgId("DotNetUtils.CB")]
[ClassInterface(ClassInterfaceType.AutoDual)]
[ComVisible(true)]
public class SecLib
//...
With in these attributes almost none of the articles say that but ClassInterface is important, otherwise I don't get intellisense either.
Cetin