Using COM components in ASP.NET

  1. Get into the Visual Studio Command Prompt
  2. Surf to the directory where the COM component is
  3. Run tlbimp component.dll /out:component_wrapper
  4. Cut and paste the resulting component_wrapper.dll into your .NET application’s bin folder.
  1. Reference and use component_wrapper.

You still need to use regsvr32 to register the COM component on the server. The tlbimp utility only creates a .NET wrapper for the component that you can reference and use in your .NET applications.

  • Share/Bookmark

Leave a comment

Your comment