Launch program from within another program

  • Thread starter Thread starter Noble Bell
  • Start date Start date
N

Noble Bell

Hello,

I need to do the following:

1) Run a program (Program A)
2) From within "Program A" I need to launch and run "Program B"
3) Close "Program A"

Is there an easy way to do this within C#?
 
It would help to know what version of the .NET Compact Framework you're
talking about. The Process class is generally the answer to 2. I'm sure
you can handle 1 yourself and I hope that 3 is no problem ;-)

Paul T.
 
Oops. My bad. I am using .NetCF 2.0 and plan on running on WM6. I will look
into the "Process" class.

Thanks.

--
Noble D. Bell
www.noblesoftware.com



Paul G. Tobey said:
It would help to know what version of the .NET Compact Framework you're
talking about. The Process class is generally the answer to 2. I'm sure
you can handle 1 yourself and I hope that 3 is no problem ;-)

Paul T.
 
Back
Top