cici bau

cici bau

  • NA
  • 1
  • 1.7k

problem with batch application controlled from C# application

Aug 10 2010 4:08 AM
Hi!

I have the following problem: I have a C# win application for passing arguments to a batch file.
The application passes the arguments o.k., the batch file runs hidden so no problem...
The problem is that in the batch file at some point this instruction is run:
start /b /min /low navision.exe -console - %IPARG% -secure -pingboost 3 +sys_ticrate 10000 -heapsize 15000 +port %port_add%
 
When this instruction is run it opens black windows with different statistic parameters and start to run as a process navision.exe in minimized mode.

Is there a way to completely hide this child command windows like I did with the primary batch file???
Is there a way to redirect console output from this process windowd to a textbox in the C# application???