tags:

views:

93

answers:

3

Can a .NET component be used from a COM component?

+3  A: 

Yes. http://www.codeproject.com/KB/COM/cominterop.aspx

Groo
thanks you a lot
+5  A: 

Read this

Calling a .NET Component from a COM Component

rahul
+1  A: 

Yes, you can do it (like mentioned in the other answers).

It basically boils down to exposing your .NET component as a COM component (this can be done by signing your assembly and just flipping a switch [Make assembly COM-Visible] in the Assembly Information Dialog Box, but good practice demands to implement an interface, and expose only the interface using the ComVisibleAttribute).

This way, your COM component can talk to the .NET component as if it is also a COM component.

fretje