Inter Projects Interaction

nakracreative

Well-known member
Joined
Aug 1, 2005
Messages
72
Location
India
Programming Experience
1-3
I have 2 projects within a single solution. Now i want that when i click on a button on form1 in Project 1 then it should open me the Form 1 of Project 2. Can anyone please help me in this.
 
Your second project must be a DLL and the first project must have a reference to that assembly. Once you've done that, you can use the classes in the second project just like you do any others.
 
You can start an instance of the second app from the first by calling Process.Start, but then they will be completely seperate processes. Nothing from the second project can be used within the first unless the second is a DLL.
 
Back
Top