Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using All registered dll's in VB.net

Posted on 2004-09-14
3
Medium Priority
?
300 Views
Last Modified: 2013-11-25
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
Comment
Question by:Rahul Goel ITIL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 800 total points
ID: 12054058
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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question