I have register com+ compenent in component service.
Namespace Class1
<Transaction(TransactionOption.Required), ComVisible(True)>
Public Class Class1
Inherits ServicedComponent
Public Sub New()
MyBase.New()
Console.WriteLine("Test() Constructor")
End Sub
<AutoComplete>
Public Function Subtraction(ByVal a, ByVal b) As Integer
a = 0
b = 0
Dim c As Integer
c = 0
c = a - b
Return c
End Function
End Class
End Namespace