T
Tibby
Add this Code
<ComClass(Rythmia.ClassID, Rythmia.InterfaceId, Rythmia.EventsId)> _
Public Class Class1
#Region "COM Class IDs"
Public Const ClassID As String = "5F0D4112-B23D-4703-94F5-B5B96E50F3BB"
Public Const InterfaceId As String =
"A9DFEE4E-3DBB-4505-BBC6-9BCEE5A220A5"
Public Const EventsId As String = "E6CAB551-4A34-4c4d-83EA-7D3D7E2E49DF"
#End Region
Sub Main()
End Sub
End Class
This makes your DLL emulate an ActiveX control. From here, you can register
it, or select the option in the project properties to register it for COM
interop. One thing to remember about the ID's, you need to use the utility
Registry Format. Otherwise, should work just fine.
Good Luck and HTH
Tibby
news:[email protected]...
<ComClass(Rythmia.ClassID, Rythmia.InterfaceId, Rythmia.EventsId)> _
Public Class Class1
#Region "COM Class IDs"
Public Const ClassID As String = "5F0D4112-B23D-4703-94F5-B5B96E50F3BB"
Public Const InterfaceId As String =
"A9DFEE4E-3DBB-4505-BBC6-9BCEE5A220A5"
Public Const EventsId As String = "E6CAB551-4A34-4c4d-83EA-7D3D7E2E49DF"
#End Region
Sub Main()
End Sub
End Class
This makes your DLL emulate an ActiveX control. From here, you can register
it, or select the option in the project properties to register it for COM
interop. One thing to remember about the ID's, you need to use the utility
Registry Format. Otherwise, should work just fine.
Good Luck and HTH
Tibby
news:[email protected]...