" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

How to register the .NET assembly for COM interop if Visual Studio .NET or any other .Net framework is not installed

Posted on November 23rd, 2015 by Pallavi Kar

Visual Studio .NET in general generates both .dll and .tlb files when the solution is built for creating an assembly. But if we are using Express edition, the .tlb file is not generated automatically, we need to explicitly create it. This tip shows how to achieve the above objective by following the steps given below: […]

Registering a COM Interop dll in .NET

Posted on November 23rd, 2015 by Amrita Dash

To create and register a COM interop dll with C#.NET (VS 2008) , we need to implement the following steps. 1. Create a class library project 2. Add a reference to Runtime.InteropServices in the class using System.Runtime.InteropServices; 3. Add Comvisible attribute to the class.  [ComVisible(true)]     public class clsHelloWorld {      // this class should […]