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...
Why?? I want it the other way around! (or for them both to work)
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)