How do I get .NET component interfaces to show up for COMponents?

bacon7181

New member
Joined
Aug 21, 2003
Messages
4
Hi All,

I am developing a class library in VB.NET that I hope to use from Outlook 2000.

I have read and followed the example:
Calling a .NET Component from a COM Component

This works good, I can reference my class and call its members. However, the class browser only works for the base (interface) classes. It completely refuses to show me any information about the derived class :(

To make this post as complete as possible here is my example:

[VB](TestDLL.vb)
Public Interface iTestClass
Function HelloWorld() As String
End Interface

Public Class TestClass
Implements iTestClass

Public Function HelloWorld() As String _
Implements iTestClass.HelloWorld

Dim helloText As String
helloText = "Saying Hello from your class library."
HelloWorld = helloText
End Function
End Class[/VB]

Now, after following all the instructions for installing and registering, I can browse my test from within Outlook 2000s VBA References editor...

Code:
TestDLL
    iTestClass
        Function HelloWorld() As String

    TestClass
        *Nothing*

Why?? I want it the other way around! (or for them both to work)
 
Back
Top