Board index » Visual Studio » One project running second project

One project running second project

Visual Studio380
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


-
 

Re:One project running second project

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.





"John" wrote:



Quote
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







-

Re:One project running second project

On Thu, 10 Apr 2008 18:44:40 +0100, "John" <info@nospam.infovis.co.uk>

wrote:



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

-