September 13, 2011

Hide Console window application in C#

I created a console based window application in C#.My plan was when app will run
no any window will come on screen so according to plan i scheduled it in task scheduler.
Whenever this activity was running a small black window was coming.
My plan was failed.I found some way to do this.
If we want to completely hide a console app in C# we need to do some changes in
application properties.
Open the properties window of project and change output type to Windows application.

image

That’s It.
Enjoy Learning.

No comments:

Post a Comment