how do I force a console application to be minimized?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I force a console application to be minimized upon launch?
I have a C# application which starts a console application via the following syntax: System.Diagnostics.Process.Start("Console.exe")
I can't seem to find the compiler options to allow this to be minimized. Any help
Thanks.
 
=?Utf-8?B?Q29uc29sZSBndXk=?= said:
How do I force a console application to be minimized upon launch?
I have a C# application which starts a console application via the
following syntax: System.Diagnostics.Process.Start("Console.exe"); I
can't seem to find the compiler options to allow this to be minimized.

You have to use the "ProcessStartInfo"
and either set "WindowStyle" to "Minimized" or set "CreateNoWindow" to
"true".


--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp


Do you need daily reports from your server ?
http://sourceforge.net/projects/srvreport/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top