How to add your knowledge

Migrating COM code to .NET

    Table of contents
    1. 1. Topics in this section

    In the majority of cases, the .NET API mirrors the structure of the COM API, so porting code to .NET involves setting up a .NET project, copying the code lines, and renaming classes and methods to match the .NET names. If you are using C# instead of VB.NET, some additional changes to code structure are required. The following sections describe some of the differences in the two APIs.