Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
DOS windows creation when I redirect the stderr output from the C-code
application that I launch running from my C# program? I've tried setting
the process CreateNoWindow to true and set ProcessWindowStyle.Hidden but it's
creating that black dos window in a flash and then close it.
Thank you.
> Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
> DOS windows creation when I redirect the stderr output from the C-code
> application that I launch running from my C# program? I've tried setting
> the process CreateNoWindow to true and set ProcessWindowStyle.Hidden but it's
> creating that black dos window in a flash and then close it.
> Thank you.
Which method are you using to start the application?

Signature
Göran Andersson
_____
http://www.guffa.com
Pucca - 08 Aug 2007 00:30 GMT
Processs.Start();
Is this the problem?

Signature
Thanks.
> > Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
> > DOS windows creation when I redirect the stderr output from the C-code
[quoted text clipped - 4 lines]
>
> Which method are you using to start the application?
Pucca - 08 Aug 2007 01:50 GMT
Also, UseShellExecute is set to false.

Signature
Thanks.
> > Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
> > DOS windows creation when I redirect the stderr output from the C-code
[quoted text clipped - 4 lines]
>
> Which method are you using to start the application?
Pucca - 08 Aug 2007 01:58 GMT
Oh, problem solved. I just needed to reboot my PC. Thank you.

Signature
Thanks.
> > Hi, I'm using vs2005, .net 2, for windows application. How can U stop the
> > DOS windows creation when I redirect the stderr output from the C-code
[quoted text clipped - 4 lines]
>
> Which method are you using to start the application?