Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#2.0 C#3.0 C# ASP.NET C#4.0
Any body tell How to convert other .dll file to .Net com component.
Posted 12-Dec-12 3:26am
Edited 12-Dec-12 3:51am
Sperneder Patrick at 12-Dec-12 8:33am
You just can create a wrapper dll over COM dlls, or make your .NET dll COM visible.
Mohibur Rashid at 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 at 13-Dec-12 0:18am
I want to convert VB .dll to .Net mail
any url for reference
d2niraj at 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
0 Sergey Alexandrovich Kryukov 434
1 OriginalGriff 385
2 CHill60 230
3 CPallini 220
4 Abhinav S 200
0 Sascha Lefévre 75
1 OriginalGriff 70
2 F-ES Sitecore 55
3 Peter Leow 50
4 Dave Kreskowiak 40

Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 12 Dec 2012
Copyright © CodeProject, 1999-2015
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