calling startup forms of imported projects

SSb

Member
Joined
Sep 28, 2005
Messages
14
Programming Experience
Beginner
Hi all,
I have two projects P1 and P2 and I created another project Main. Within Main I imported the projects P1 and P2. What I want is that when Main runs a form should comes up with two buttons. When one of the buttons is clicked P1 must run and when the other button is clicked P2 must run. In all I want just one exe file having the option to run either projects.

Is there a way (I guess there would be) of calling the startup form of P1 or P2 from Main and vice-versa ?

Thanks,
Saurabh
 
System.Diagnostics.Process.Start(filename)
Won't that require the exe of my projects P1 and P2 ?

I have those projects compiled and working fine. Now I want to just have 1 exe file which can do both their works. One way I was trying was to make a new project, import these two projects into it and then simply call the main form of individual projects. On compiling I think I will have just one file.

Thanks,
Saurabh
 
Back
Top