I have a 3rd party software package. Its folder contains the .exe file to run and some other files required to run the application. When I open the application manually, it works fine, but when I try to open the same application through Process.Start(), I get the error “application has stopped working”.
The application needs the .NET 4.0 framework in order to execute, so I had to install it. The C# code I’m attempting to run it with is on .NET 3.5 and was created using Visual Studio 2008.
You could try the following:
If this does not work, try
directly before the
process.Start();Do not forget to reset the Current directory afterwards!
Save the CurrentDirectory before with