Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

Any body tell How to convert other .dll file to .Net com component.
Posted
Updated 12-Dec-12 2:51am
v2
Comments
Sperneder Patrick 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 18-Dec-12 2:48am    
That would be the answer

1 solution

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.
 
Share this answer
 
Comments
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
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900