G
Guest
I want to use the services of a C# dll from a VB6 client. The C# dll has a
public method called "Add". In the C# dll, the class interface type applied
for the class is as follows:
[ClassInterface(ClassInterfaceType.None)]
The Com visible attribute for the type is set to true.
[ComVisible(true)]
I used RegAsm Utility to generate the Tlb file.
In the VB6 client, I set a reference to the tlb file. I create an instance
of the type as follows:
Dim Ret As Integer
Dim oSample As New Sample
The problem is that the intellisense does not show the Add method at all. It
only shows - Equals, GetHashCode, GetType and ToString.
Where am I going wrong?
public method called "Add". In the C# dll, the class interface type applied
for the class is as follows:
[ClassInterface(ClassInterfaceType.None)]
The Com visible attribute for the type is set to true.
[ComVisible(true)]
I used RegAsm Utility to generate the Tlb file.
In the VB6 client, I set a reference to the tlb file. I create an instance
of the type as follows:
Dim Ret As Integer
Dim oSample As New Sample
The problem is that the intellisense does not show the Add method at all. It
only shows - Equals, GetHashCode, GetType and ToString.
Where am I going wrong?