29 November 2006

Using COM components in ASP.NET

Posted by Mikhail Esteves under: C#; Tips .

  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.
  5. 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.



Leave a Reply

Browse

Photography

Projects

Pages

Calendar

November 2006
M T W T F S S
« Oct   Dec »
 12345
6789101112
13141516171819
20212223242526
27282930  

Categories

www.flickr.com