I have exe which i want to execute from c#, when I try to run the file from c# it does nothing.
When i run the file from DOS it works.
What do i wrong?
My code is:
foreach (string srcFile in srcFileDialog.FileNames)
{
string exec = System.IO.Path.GetDirectoryName(Application.ExecutablePath) + @"\OTTO.EXE";
string param = srcFile + " -cA";
System.Diagnostics.Process.Start(exec, param);
}
In annex the exe file.
Can somebody help me?
Loading
Sam HobbsPosted Apr 3, 2010, 2:44 PM
There is much, much more about debugging that you need to learn about if you are not familiar with debugging. My short description above is probably not enough for you to understand how to use the debugger. You need to find tutorials and articles and documentation and books about debugging; debugging is an important thing to know about.
BrunoPosted Apr 3, 2010, 5:25 AM
The strange thing is that when the command-prompt starts from c# it is empty. When I double click on the file I can see a menu.
Can you explain the part a little bit more where I can see the exact data in the .exe. I don't understand what to do.
Sam HobbsPosted Apr 2, 2010, 2:00 PM