Mixed Console / GUI Application

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

Hello,

what steps are necessary to create an application - like shutdown.exe - that
starts as a console application but displays a GUI when a special parameter
is passed to it?

Kind regards,

Frank
 
Frank said:
Hello,

what steps are necessary to create an application - like shutdown.exe - that
starts as a console application but displays a GUI when a special parameter
is passed to it?

Kind regards,

Frank

It's not a console app to start. you are just launching it from the
command prompt. You can do that with any exe application.

Chris
 
Hello,

the shutdown.exe GUI is only displayed when you pass the "-i" paramter to it
(help is available with "-?") and the console window is then still displayed
in the background. Try!

- Frank
 
Frank said:
the shutdown.exe GUI is only displayed when you pass the "-i" paramter to
it (help is available with "-?") and the console window is then still
displayed in the background. Try!

Create a console application project and add forms to it. This should work.
 
Back
Top