To add a reference to a type library in Visual Studio Install the COM DLL or EXE file on your computer, unless a Windows Setup.exe file performs the installation for you. Choose Project, Add Reference. In the Reference Manager, choose COM. Select the type library from the list, or browse for the . ... Choose OK. More items... Sep 15, 2021