Re: minimizing console window on startup
Scott wrote:
Hi everyone,
I have a c# console app that when run through an autorun.inf file, launches
a web page from the CD. It works just fine but I would like the console
window minimized on startup. Currently, the console window displays briefly,
the web page loads, and the console window disappears.
The only line of code currently in the console app is...
System.Diagnostics.Process.Start("blahblahblah.htm")
Any suggestions?
Don't know if this will work offhand, but couldn't you just have a GUI
app that doesn't create a form? It just does the Start() then returns.
Thanks,
Scott
HTH
Ian C
.
Relevant Pages
- Re: C# Console app with hidden window and user input
... > hide its console window when its launched out on the field. ... > console window at launch time. ... Why have you made it a console app if you don't want a console? ... (microsoft.public.dotnet.languages.csharp) - Re: Is it possible to instantiate an object in Bin folder of a web application remotly?
... > not sure how your console app fits into this picture unless it's the ... application.The console application is an application which is going to ... application is remoting client app and IIS hosts the remote object. ... Super ick. ... (microsoft.public.dotnet.framework.aspnet) - Re: Self terminating windows service
... Z. When I say running a console app or service, ... > see that windows service is using few of my system resources, ... >>> applications and at that time I want to check the performance counters. ... (microsoft.public.dotnet.languages.csharp) - Console missing: JBuilder 8?
... I have written a front end gui in JAVA that launches two C++ console ... output goes to a pane internal to JBuilder 8 and I see that it is correct. ... IDE for this project) automatically launched a console window when the .JAR ... (comp.lang.java.softwaretools) - Re: prevent close dialog in console app
... > windows program to start your console app without opening a console window? ... > But in that case, why write a console app at all, why not a windows program? ... (microsoft.public.win32.programmer.kernel) |
|