473,811 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Referencing DLLs/projects

Another VB6 feature that I'm missing in VB.NET is with regard to referencing
projects vs. referencing DLLs.

In VB6 I can reference my support library, Support.dll, and call its
functions.

If I encounter a problem, I may decide to add the Support project to my
project group. The reference automatically updates itself to point to the
Support.vbp instead of Support.dll.

Now in VB.NET I can of course reference the DLL or alternatively add the
project to the solution and reference that. But VB.NET doesn't automatically
switch between the two like VB6 did.

In reality, I have an application that uses about 6 support DLLs with
interdependenci es between one another. Each time I want to debug one of
these, I therefore have to delete and re-add all the references to all the
projects so that they each refer to one another as projects rather than
referring to the compiled DLLs. If I need to switch back to running the host
on its own, I then have to delete all the references once again and
re-reference all the compiled DLLs.

If there an easier way to manage references than this?

--

(O)enone
Nov 21 '05 #1
4 1663
I know what you mean ,,,, i`ve been there too ;-)

Thing that made me dissapointed is that here is no way to create a COM like
out of process server ( VB6 ActiveX executable ) i need to write a proxy
now in good old VB6 ( MS VB.Net dev team shame on you ! )

regards

Michel Posseth

"Oenone" <oe****@nowhere .com> wrote in message
news:ey******** ******@TK2MSFTN GP12.phx.gbl...
Another VB6 feature that I'm missing in VB.NET is with regard to
referencing projects vs. referencing DLLs.

In VB6 I can reference my support library, Support.dll, and call its
functions.

If I encounter a problem, I may decide to add the Support project to my
project group. The reference automatically updates itself to point to the
Support.vbp instead of Support.dll.

Now in VB.NET I can of course reference the DLL or alternatively add the
project to the solution and reference that. But VB.NET doesn't
automatically switch between the two like VB6 did.

In reality, I have an application that uses about 6 support DLLs with
interdependenci es between one another. Each time I want to debug one of
these, I therefore have to delete and re-add all the references to all the
projects so that they each refer to one another as projects rather than
referring to the compiled DLLs. If I need to switch back to running the
host on its own, I then have to delete all the references once again and
re-reference all the compiled DLLs.

If there an easier way to manage references than this?

--

(O)enone

Nov 21 '05 #2

m.posseth wrote:
I know what you mean ,,,, i`ve been there too ;-)

Thing that made me dissapointed is that here is no way to create a COM like
out of process server ( VB6 ActiveX executable ) i need to write a proxy
now in good old VB6 ( MS VB.Net dev team shame on you ! )


You can use remoting for that! Why do you need it to be an executable?
I'm not sure what advantage an ActiveX EXE gives you that you cannot
get in VB.Net?

Nov 21 '05 #3
Oenone wrote:
Now in VB.NET I can of course reference the DLL or alternatively add the
project to the solution and reference that. But VB.NET doesn't automatically
switch between the two like VB6 did.


Microsoft recommends using project references wherever possible so that
the version references can be updated correctly.

Check out this link:

http://msdn.microsoft.com/library/de...ml/tdlg_rm.asp

Nov 21 '05 #4
Well i use remoting a lot , however it is not the same as a VB6 Com
executable

why do i need it to be an executable ??

well what did you think about out of process state information and then i
talk also about the GUI interface that can be passed over with a VB6
executable to other win 32 applications ,,, this is my biggest problem at the
moment

"Chris Dunaway" wrote:

m.posseth wrote:
I know what you mean ,,,, i`ve been there too ;-)

Thing that made me dissapointed is that here is no way to create a COM like
out of process server ( VB6 ActiveX executable ) i need to write a proxy
now in good old VB6 ( MS VB.Net dev team shame on you ! )


You can use remoting for that! Why do you need it to be an executable?
I'm not sure what advantage an ActiveX EXE gives you that you cannot
get in VB.Net?

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
7754
by: Jon | last post by:
I have 3 VB.net executables that reference the same 3 VB.Net DLLs. How is the best way to distribute the EXEs without putting 3 copies of of DLL on a user's machine. I looked into Private assemblies and the Global Assembly but I am having a hard time figuring them out. Ideally, I would like to have one install that puts all 3 EXEs and all 3 DLLs on the workstation. Any recommendations would be appreciated. Jonathan
10
2311
by: Doug Crabtree | last post by:
I am kinda new to the whole distribution process. I several programs that I am writing that use common .NET DLLs. I want each program to use the same DLLs in a "COMMON" folder. How do I get the released build to reference those DLLs? The debug version works fine (within the VS Environment). Thanks, Doug
1
1134
by: Manny Silva | last post by:
Hi, I'm trying to create a simple managed C++ application that will be a test UI around a couple of ATL COM DLL projects that I have created (all with VS2003). What I am attempting to do is bring all three projects into the same solution and use them together. Now, to the managed project that serves as the test UI, I added project references to the other two ATL projects. The IDE accepted that just fine and the properties of the...
2
469
by: | last post by:
I posted this question in the past, but have not yet received an answer. Here is the question. By default an ASP.NET app developed in Visual Studio compiles it's code to a DLL located in the bin directory. Is it worth while to try to break your code into seperate DLLs, rather than allow your project to keep building this DLL larger and larger as you develop your app? Does it save memory to have less frequently used (by the user) code...
1
1136
by: sonu | last post by:
Hi all, I have developed a VB.NET application. In my solution I have 8 projects. And I need reference of one project in another. That is why I have added the reference of that project in the project I want. The things were working fine initially but now I am facing the problem while
2
1647
by: Jan | last post by:
Regarding my post "CSharpCodeProvider: referencing other generated "InMemory" assembly" 4/27/2006 and the blog from Greg Young http://geekswithblogs.net/gyoung/archive/2006/04/27/76533.aspx I have now implemented a fine system with code semilar to Greg's example code. I have a warning/comment/question: When the generated main assembly is called for the first time (in my application a static initialize function) another instance of...
3
1585
by: eduwushu | last post by:
Hi there. Im developing a c# app and i have a solution with some projects: the main project which generates the executable file and some other projects which some of them im compiling generate dll's which my main project needs to run. When i compile a dll project it generates the dll it implements. Then i take that dll and put it in the directoory where my main app executable is. Then i go to my main project and add a reference in it to...
4
3577
by: | last post by:
I have learned about compartmentalizing my code base using Class Libraries. I have my common code such as my ORM framework broken out into their own Class Libraries, which are referenced as projects from my Website. I also have a common set of DLLs I use across all of my applications. It would be great if I could put all of those DLLs into their own projects, and to reference that project from various solutions. The way my solution is...
3
3666
by: =?Utf-8?B?a3lvbmc=?= | last post by:
Quick question. Say I have a project against the 2.0framework. I also have a dll compiled against 3.5. If I reference the 3.5 dll in the 2.0 project, how would that work? So I'm thinking that the 3.5 dll gets loaded in memory by the 3.5 framework running in process X. The 2.0 project dlls get loaded in the process running the 2.0 framework in
0
9726
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10647
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10384
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10395
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9204
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7667
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5553
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4338
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.