Using All registered dll's in VB.net

Hello,

Can u help me in VB.net...
As u know that we want to use any com component then we have to add them as a reference in the solution explorer..
But If I want to add that component as a reference without adding that com component in my bin folder...
Means I m trying to use Webbrowser component but whenever I go for adding it as reference It creates a copy of dll in my bin folder...

I don't want this I want to use this dll from system32 folder of winnt

Rahul
LVL 9
Rahul Goel ITILSenior Consultant - DeloitteAsked:
Who is Participating?
 
AlexFMConnect With a Mentor Commented:
Dll added as reference is not copied to the project directory. It is used in the place where it is registered.
When some COM Dll is added as reference, Visual Studio adds proxy dll Interop.***.dll to output bin directory. This proxy Dll is responsible for connection between managed VB program and unmanaged COM component. It is impossible to work without proxy Dll, it is built in the same directory as VB output file (exe, dll) and should be distributed with it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.