Tag Archives: run program

Start another program and wait until it finishes in C#

The example Open a file with the system’s default application in C# shows how to open a file with the program associated with that type of file. The file opens and the program that started it continues without waiting. Sometimes, … Continue reading

Posted in files, programs, system | Tagged , , , , , , , , , , , , , , , , , , , | 1 Comment

Open a file with the system’s default application in C#

Sometimes you might want your program to use a default application to open a file. For example, you might want to display a PDF file, web page or URL on the internet. The System.Diagnostics.Process class’s Start method starts the application … Continue reading

Posted in files, programs, system | Tagged , , , , , , , , , , , , , , , , | 2 Comments