How to: Register a Component for COM Interop
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

How to: Register a Component for COM Interop

Updated: December 2008

The Register for COM interop project property specifies whether your managed application will expose a COM object (a COM-callable wrapper) that allows a COM object to interact with your managed application.

The Register for COM interop property is set on the Compile page of the Visual Basic Project Designer or the Build page of the C# Project Designer. This property is not available for Windows Application or Console Application projects.

To register a component for COM interop

  1. With a project selected in Solution Explorer, on the Project menu, click Properties.

  2. Click the Compile tab in Visual Basic. Click the Build tab in C#.

  3. Select the Register for COM interop check box.




December 2008

Added information for C#.

Customer feedback.

© 2015 Microsoft