Summary

Some people like to say that COM is dead. Microsoft might be moving away from COM, but given that some companies still have Windows 95 as their standard desktop operating system, COM will no doubt be around for a very long time. Therefore, Microsoft made .NET capable of integrating with COM in several ways.

First, .NET can call COM components. Accomplishing this is very easy for the .NET developer. VS .NET will create an assembly for you that acts as a wrapper to the COM component, or the developer can create the wrapper using the Tlbimp.exe utility.

Second, .NET can expose assemblies to COM components. Using the Regasm.exe utility, you can create a type library from an assembly's manifest, and have the type library registered in the ...

Get A Programmer's Introduction to Visual Basic® .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.