Any Way for Console Application to _not_ pop up CMD window?

  • Thread starter Thread starter John Saunders
  • Start date Start date
J

John Saunders

I'd like to be able to use simple console applications and have the
administrator schedule them via Scheduled Tasks. But every time they run,
the cmd window pops up. This happens even when the program produces no
output and prompts for no input.

Is there anything I can do short of creating a windows service to get around
this and have the window not show up?
 
Just change the output type of the application from 'Console Application' to
'Window Application'. Its under:
Project --> <myproject> Properties --> Common Properties --> General -->
Output Type.

That will get rid of your console window and since you dont have any window
for the 'window application', it won't show any windows at all!

hope that helps..
Imran.
 
Imran Koradia said:
Just change the output type of the application from 'Console Application'
to
'Window Application'. Its under:
Project --> <myproject> Properties --> Common Properties --> General -->
Output Type.

That will get rid of your console window and since you dont have any
window
for the 'window application', it won't show any windows at all!

Clever! I'll try it.
 
Back
Top