Quantcast
Viewing all articles
Browse latest Browse all 12583

C#, How to lauch a program from windows form and open another upon Exit

Hello, I'm Trying to Run an .exe File from a C# program

Here's an Example of the steps I Want to happen in the Program

1. C# Program Opens and Wait few seconds Then Launch "example.exe"

2. The C# Program Runs in the Background Minimized an Waits for the .exe to Close

3. After .exe Closes C# Program Closes and Execute Another .Exe Program.

the Idea I'm Getting at is Making a C# Program That Will Be Stored On A Disc And Will Automatically Execute a .exe file at the root of the disc Then Detects When The .exe on Disc Is Closed.

Last, The C# Program Opens a New .exe from the PC And The C# Program Closes After The New Exe is Launched.

Can Anyone Give me an Example on How This Can Be Done.

Thanks.


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>