One project running second project

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I have two independent winform projects which have their start-up forms. If
I include both projects in the same solution then can I run the second
project from first project by pressing a button on a form in project one? If
not, can I call the start-up form of project two from project one some how?
Basically I want to keep the two projects separate programmatically but
would like to the present to the user as one app.

Thanks

Regards
 
You can start any executable from within an application with the
System.Diagnostics.Process class. It does not need to be a part of the same
solution.
 
Hi

I have two independent winform projects which have their start-up forms. If
I include both projects in the same solution then can I run the second
project from first project by pressing a button on a form in project one? If
not, can I call the start-up form of project two from project one some how?
Basically I want to keep the two projects separate programmatically but
would like to the present to the user as one app.

From one app you can either start the executable of the second, or you
can create the form of the second as another form in the first app.

In the first case the two are totally separate executables. In the
second case if the first app exits it will close both forms.
 
Back
Top