Solved

Using All registered dll's in VB.net

Posted on 2004-09-14
3
298 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 200 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Make the most of your online learning experience.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

691 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