Click here to Skip to main content
13,054,615 members (67,664 online)
Rate this:
Please Sign up or sign in to vote.

Any body tell How to convert other .dll file to .Net com component.
Posted 12-Dec-12 2:26am
Updated 12-Dec-12 2:51am
Sperneder Patrick 12-Dec-12 8:33am
You just can create a wrapper dll over COM dlls, or make your .NET dll COM visible.
Mohibur Rashid 18-Dec-12 2:48am
That would be the answer

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You may use interop in .Net

If you are working in visual studio, then you may simply add reference of your dll file. If the dll is supported by .Net then visual studio will create a wrapper on this behind the veil. That means if it is referenced successfully you would be able to use it as normal .net dll.

Please note that this other dll is not .Net dll, just a wrapper over this & request will be made from wrapper to actual dll.

You still need to register that dll on machine on which you want to execute your application.
nagalkumar 13-Dec-12 0:18am
I want to convert VB .dll to .Net mail
any url for reference
d2niraj 13-Dec-12 9:35am
when I said interop, it means it is as simple as referencing any dll in .Net project.

Here's the steps add dll,
-From the 'project' menu
-Select 'Add Reference'
-Select the 'COM' tab
-Select your dll and click OK

See following link

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 12 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100