Starting an Application within another

mrymuc

New member
Joined
Dec 6, 2006
Messages
1
Programming Experience
5-10
Hi,

I hope there's a reasonably simple answer to this question that I've just not found yet.

I've got a VB .NET solution which has 2 Windows applications within it, both accessing an SQL Server database but until now the applications didn't need to talk to each other in any way.

However, I'm now required to start one from the other and pass some information to it and I'm not sure how to do this.

I've been searching online to find a way to do this but as yet, to no avail.

The question is I suppose, how can I get one application to start the "Sub Main()" of the other one?

I'd be very grateful for any assistance.

Thanks
 
Process.Start(stringPath,stringArguments)

To read the arguments in other app check Environment.GetCommandLineArgs method
 
Back
Top