Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#2.0 C#3.0 C# ASP.NET C#4.0
Hi,
 
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
v2
Comments
Sperneder Patrick at 12-Dec-12 8:33am
   
impossible
You just can create a wrapper dll over COM dlls, or make your .NET dll COM visible.
regards
Mohibur Rashid at 18-Dec-12 2:48am
   
That would be the answer

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
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
http://www.vb-helper.com/howto_net_use_vb6_dll.html

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

  Print Answers RSS
0 BillWoodruff 300
1 Mathew Soji 274
2 Afzaal Ahmad Zeeshan 268
3 DamithSL 225
4 Sergey Alexandrovich Kryukov 205
0 OriginalGriff 6,249
1 Sergey Alexandrovich Kryukov 5,853
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 3,865


Advertise | Privacy | Mobile
Web02 | 2.8.1411019.1 | Last Updated 12 Dec 2012
Copyright © CodeProject, 1999-2014
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