Multiple projects in one solution

Trubble

Member
Joined
Aug 6, 2005
Messages
6
Programming Experience
5-10
I have added a fully functioning project into another fully functioning projects solution.

I have created a button on the first projects form, which I would like to start the second project from within the first. (instead of using each application individually)

Can someone tell me if this is possible.. or do I have to compile each project to the executables and access the second one from outside?
 
Add a reference to the second Project, then you can use the objects from that project in the first.

Button Click in Project1 will do something like this:

Dim frmProject2Form as New Project2Form
frmProject2Form.Show
 
The solutions file is more of a convenience then anything else. By adding a project to a solution; it allows you to rebuild everything at once and switch between project quickly. On a component level, they are still just as seperated (assuming you don't have references between them) as if they were in different solutions.
 
Back
Top