One project running second project

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
 
F

Family Tree Mike

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.
 
J

Jack Jackson

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top