Hello everyone
I have a problem when I want to use process in C# windows application
I try to use Aldo Rubiales’s code:
Process p = new Process();
p.EnableRaisingEvents = false;
p.StartInfo.FileName = gamsDir + “\” + gamsExe;
p.StartInfo.WorkingDirectory = workingDirectory;
p.StartInfo.Arguments = workingDirectory + “\” + gamsModel + " o=nul lo=0";
p.Start();
p.WaitForExit();
but I can’t run this and only open the gams file with gams program.
please send me a full example that you run it in your computer.
Thanks
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
\
Help
On Friday, May 3, 2013 11:42:07 AM UTC+4:30, Omid wrote:
Hello everyone
I have a problem when I want to use process in C# windows application
I try to use Aldo Rubiales’s code:
Process p = new Process();
p.EnableRaisingEvents = false;
p.StartInfo.FileName = gamsDir + “\” + gamsExe;
p.StartInfo.WorkingDirectory = workingDirectory;
p.StartInfo.Arguments = workingDirectory + “\” + gamsModel + " o=nul lo=0";
p.Start();
p.WaitForExit();
but I can’t run this and only open the gams file with gams program.
please send me a full example that you run it in your computer.
Thanks
–
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
\