Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2007

Tip: Looking for answers? Try searching our database.

How can I hid the Dos window using Process lauching a C appliation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pucca - 07 Aug 2007 20:02 GMT
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.
Signature

Thanks.

Göran Andersson - 07 Aug 2007 22:44 GMT
> 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?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.