How can COM Components use in .NET?
The .NET components can communicate with COM using RCW (Runtime Callable Wrapper). The ways with which you can generate RCW are as shown below :-
1)By Adding the reference in Visual Studio.net. The Wrapper class is generated and placed at the "BIN" directory.
2)By Using Tlbimp.exe yourname.dll.type library import tool.
3)By Using interopservices.System.runtime.Interopservices namespace contains class TypeLib Converter that provides methods to convert COM classes and interface into the assembly metadata.
4)Complete your custom wrappers.If your COM component does not have any type library then the only way to communicate is writing custom wrappers. Which means communicating directly with the COM components.