473,385 Members | 1,766 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,385 software developers and data experts.

Merging two VB.NET projects

Working w/ someone in my company. We've both developed a project in
VB.NET, and now we want to merge them into a single project/solution so
they can communicate with each other. The communication is fairly
simple stuff (e.g., if user selects a row in a DataGridView in one
form, it selects a corresponding row in the other form).

I pretty much have the class written that will handle all the
communication, but what I'm not sure about is, what's the best way to
merge these babies? Just copy all the vb files and references into a
single project? Or create a single solution with two separate projects?
Or ... ?

Your advice much appreciated,

-Dan

Oct 26 '06 #1
15 1516

"Daniel Manes" <da******@cox.netwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
We've both developed a project in VB.NET
Please do not crosspost between .NET and non-.NET groups. The *.vb.* groups
are for VB6 and ealier. The *.dotnet.* groups are for .NET.
Oct 27 '06 #2
"Daniel Manes" <da******@cox.netwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com
Working w/ someone in my company. We've both developed a project in
VB.NET,
Please remove m.p.vb.general.discussion from the cross-post as this has
nothing to do with VB 6 or earlier
Oct 27 '06 #3

Daniel Manes wrote:
Working w/ someone in my company. We've both developed a project in
VB.NET, and now we want to merge them into a single project/solution so
they can communicate with each other. The communication is fairly
simple stuff (e.g., if user selects a row in a DataGridView in one
form, it selects a corresponding row in the other form).

I pretty much have the class written that will handle all the
communication, but what I'm not sure about is, what's the best way to
merge these babies? Just copy all the vb files and references into a
single project? Or create a single solution with two separate projects?
Or ... ?

Your advice much appreciated,

-Dan
I normally would create a solution with all the projects under it.

--
Tom Shelton

Oct 27 '06 #4
Daniel,

In addidition to Tom be aware that one of those is a Form project (Exe) (as
that is the fact) and the others are Dynamic Link Libraries (DLL), you can
set that from any project in the project properties.

I hope this helps,

Cor

"Daniel Manes" <da******@cox.netschreef in bericht
news:11**********************@h48g2000cwc.googlegr oups.com...
Working w/ someone in my company. We've both developed a project in
VB.NET, and now we want to merge them into a single project/solution so
they can communicate with each other. The communication is fairly
simple stuff (e.g., if user selects a row in a DataGridView in one
form, it selects a corresponding row in the other form).

I pretty much have the class written that will handle all the
communication, but what I'm not sure about is, what's the best way to
merge these babies? Just copy all the vb files and references into a
single project? Or create a single solution with two separate projects?
Or ... ?

Your advice much appreciated,

-Dan

Oct 27 '06 #5
Dan,
I would suggest you to create a single solution with two separate
projects!
Daniel Manes wrote:
Working w/ someone in my company. We've both developed a project in
VB.NET, and now we want to merge them into a single project/solution so
they can communicate with each other. The communication is fairly
simple stuff (e.g., if user selects a row in a DataGridView in one
form, it selects a corresponding row in the other form).

I pretty much have the class written that will handle all the
communication, but what I'm not sure about is, what's the best way to
merge these babies? Just copy all the vb files and references into a
single project? Or create a single solution with two separate projects?
Or ... ?

Your advice much appreciated,

-Dan
Oct 27 '06 #6
Dan,
I would suggest you to create a single solution with two separate
projects!
Daniel Manes wrote:
Working w/ someone in my company. We've both developed a project in
VB.NET, and now we want to merge them into a single project/solution so
they can communicate with each other. The communication is fairly
simple stuff (e.g., if user selects a row in a DataGridView in one
form, it selects a corresponding row in the other form).

I pretty much have the class written that will handle all the
communication, but what I'm not sure about is, what's the best way to
merge these babies? Just copy all the vb files and references into a
single project? Or create a single solution with two separate projects?
Or ... ?

Your advice much appreciated,

-Dan
Oct 27 '06 #7
Dan,
I would suggest you to create a single solution with two separate
projects!
Well, as long as we're going to keep discussing
..Net to no purpose in a VB group....

Isn't that .Net nomenclature just too zany? :)
Only in the unique world of Microsoft could software
be a solution before it's solved a problem...
even before it's been written!
In any other context the sentence above is
utterly nonsensical.
Oct 27 '06 #8
"mayayana" <ma**********@mindXXspring.comwrote in message
news:Wy**************@newsread3.news.pas.earthlink .net...
Isn't that .Net nomenclature just too zany? :)
Only in the unique world of Microsoft could software
be a solution before it's solved a problem...
even before it's been written!
That's not .NET nomenclature; this existed in VS 6.0. We VB6 folks never saw
it, though, because our IDE wasn't integrated into the VS IDE.

Don't blame .NET for things that aren't its "fault."
Oct 27 '06 #9
>
Isn't that .Net nomenclature just too zany? :)
Only in the unique world of Microsoft could software
be a solution before it's solved a problem...
even before it's been written!

That's not .NET nomenclature; this existed in VS 6.0. We VB6 folks never
saw
it, though, because our IDE wasn't integrated into the VS IDE.

Don't blame .NET for things that aren't its "fault."
That's interesting. I never noticed the MS usage
of "solution" before .Net. I don't see "solutions" in
VS6 - just projects and workspaces. But when I did a
search of MSDN I got an article from *1995* near the
top of the list, named:
"Client/Server Solutions: The Design Process"
Oct 27 '06 #10
Cor Ligthert [MVP] wrote:
In addidition to Tom be aware that one of those is a Form project (Exe) (as
that is the fact) and the others are Dynamic Link Libraries (DLL), you can
set that from any project in the project properties.
Thanks to everyone who answered...Looks like the two projects in one
solution is the way to go. Next question: *How* do I actually do this?

The only thing I can think of is to convert the smaller project into a
Class Library (DLL) then reference it in the larger project. Is that
what you have in mind? If yes, how do I convert a "Windows Application"
project into a "Class Library" project?

Many thanks,

-Dan

Oct 27 '06 #11
mayayana wrote:
Well, as long as we're going to keep discussing
.Net to no purpose in a VB group....
Sorry to all the VB6 people for cross-posting my .NET question to your
group. I just sent my latest post with
microsoft.public.vb.general.discussion removed, so hopefully you will
be spared any further unwanted stuff (not counting this message :)).
Only in the unique world of Microsoft could software
be a solution before it's solved a problem...
even before it's been written!
Maybe that's what Microsoft means when they claim to be "innovative" :)

-Dan

Oct 27 '06 #12
"mayayana" <ma**********@mindXXspring.comwrote in message
news:u0*******************@newsread1.news.pas.eart hlink.net...
That's interesting. I never noticed the MS usage
of "solution" before .Net. I don't see "solutions" in
VS6 - just projects and workspaces.
Ah, you're looking at a C++ project, I guess. ASP (InterDev) projects used
the "solution" terminology.
Oct 27 '06 #13
mayayana wrote:
Isn't that .Net nomenclature just too zany? :)
Only in the unique world of Microsoft could software
be a solution before it's solved a problem...
even before it's been written!
That's not .NET nomenclature; this existed in VS 6.0. We VB6 folks never
saw
it, though, because our IDE wasn't integrated into the VS IDE.

Don't blame .NET for things that aren't its "fault."
That's interesting. I never noticed the MS usage
of "solution" before .Net. I don't see "solutions" in
VS6 - just projects and workspaces. But when I did a
search of MSDN I got an article from *1995* near the
top of the list, named:
"Client/Server Solutions: The Design Process"
VB6 had the concept of a Project Group which allowed you load several
projects at once. When you have a project open, you can select File ->
Add Project. When you saved, you had a .vbg file with information to
load up both projects. Although I don't recall if you could reference
one project from another.

Oct 27 '06 #14
Daniel,

Forgive me the word, yes it is Class Libary not Link Library.

For the rest it is the same as I wrote, just in the Project properties, you
see it almost direct.

Cor

"Daniel Manes" <da******@cox.netschreef in bericht
news:11*********************@i3g2000cwc.googlegrou ps.com...
Cor Ligthert [MVP] wrote:
>In addidition to Tom be aware that one of those is a Form project (Exe)
(as
that is the fact) and the others are Dynamic Link Libraries (DLL), you
can
set that from any project in the project properties.

Thanks to everyone who answered...Looks like the two projects in one
solution is the way to go. Next question: *How* do I actually do this?

The only thing I can think of is to convert the smaller project into a
Class Library (DLL) then reference it in the larger project. Is that
what you have in mind? If yes, how do I convert a "Windows Application"
project into a "Class Library" project?

Many thanks,

-Dan

Oct 28 '06 #15
Daniel,

Maybe you cannot find it. The setting for Class Library is in the solution
exploirer after that you have Added your existing project to the other one
using the File menu, in the solution explorer you can right click on it and
than it is easy to see. (It is a little bit different between the versions
2003 and 2005).

Cor
"Daniel Manes" <da******@cox.netschreef in bericht
news:11*********************@i3g2000cwc.googlegrou ps.com...
Cor Ligthert [MVP] wrote:
>In addidition to Tom be aware that one of those is a Form project (Exe)
(as
that is the fact) and the others are Dynamic Link Libraries (DLL), you
can
set that from any project in the project properties.

Thanks to everyone who answered...Looks like the two projects in one
solution is the way to go. Next question: *How* do I actually do this?

The only thing I can think of is to convert the smaller project into a
Class Library (DLL) then reference it in the larger project. Is that
what you have in mind? If yes, how do I convert a "Windows Application"
project into a "Class Library" project?

Many thanks,

-Dan

Oct 28 '06 #16

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

Similar topics

2
by: thechaosengine | last post by:
Hi, I have a solution made out of about 5 projects. At the moment, each one is creating its own dll in its own subdirectory. I seem to remember that there is a way to merge multiple dlls into...
3
by: Patrick | last post by:
I have got 2 XML documents, both of which conform to the same XSD Schema, which define possible optional elements. The 2 XML documents contain 2 disjoint set of XML elements. What is the best,...
1
by: svdh | last post by:
I have posed a question last saturday and have advanced alot in the meantime. But I am still not there Problem is that I try to merging various fields from various tables in one document in Word...
1
by: Lovens | last post by:
I have 2 projects in VC++ and I was wondering what is the best way to "import" the windows forms from one project to another. thanks in advance... Lovens
15
by: Daniel Manes | last post by:
Working w/ someone in my company. We've both developed a project in VB.NET, and now we want to merge them into a single project/solution so they can communicate with each other. The communication...
0
vikramadith
by: vikramadith | last post by:
I'm having some issues merging dlls into my exe Basically I have three VS projects, one producing an exe, and the other two producing dlls. Let us just call it MyApp.exe, Lib1.dll and Lib2.dll....
9
by: karenjfrancis | last post by:
I have 4 Access databases, all with the same data model but different data. I want to build a front end that brings all of the data in the 4 databases together into one. Assuming my table of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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...

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.