• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

Using All registered dll's in VB.net


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 Goel ITIL
Rahul Goel ITIL
1 Solution
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.
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.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now