P
Peter Morris
private void ExecuteCalculationEngine()
{
string executionPath = Path.GetDirectoryName(InputFileName);
Directory.SetCurrentDirectory(executionPath);
var startInfo = new ProcessStartInfo(Path.Combine(executionPath,
"xxxxxxxxx.exe"));
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.CreateNoWindow = true;
startInfo.WorkingDirectory = executionPath;
Process.Start(startInfo).WaitForExit();
}
Can anyone tell me why the window still appears?
Thanks
Pete
{
string executionPath = Path.GetDirectoryName(InputFileName);
Directory.SetCurrentDirectory(executionPath);
var startInfo = new ProcessStartInfo(Path.Combine(executionPath,
"xxxxxxxxx.exe"));
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.CreateNoWindow = true;
startInfo.WorkingDirectory = executionPath;
Process.Start(startInfo).WaitForExit();
}
Can anyone tell me why the window still appears?
Thanks
Pete