Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 302
  • Last Modified:

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
0
Rahul Goel ITIL
Asked:
Rahul Goel ITIL
1 Solution
 
AlexFMCommented:
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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