473,394 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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
interdependencies 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 1640
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**************@TK2MSFTNGP12.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
interdependencies 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
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...
10
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...
1
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...
2
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...
1
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...
2
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...
3
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...
4
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...
3
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...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.