hsprasain wrote:
The system can't find the file specified.
Of course not, you're trying to start SH_EVP2.exeinput1.sa, which does not exist.
hsprasain wrote:
I felt "SH_EVP2.exe" + yourParamString string got concanated and come up with new file name.
Yeah, I thought it was obvious you needed a space.
hsprasain wrote:
However I have input1.sa in the bin directory.
Doesn't really matter. sh_evp2.exe needs to be in the same folder, or in the general lookup path for windows. Additionally, where-ever sh_evp2.exe is, *it* needs to be able to find input1.sa, that is, even if sh_Evp2.exe starts from anotehr folder, odds are very low it will be able to find input1.sa. Application.ExecutablePath ( from memory ) contains the path to your exe, use Path.Combine to create the full path to input1.sa, make sure that sh_evp2.exe is able to be found, put in a space, and it should work.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )