How to hide the black console window
-
Hi guys, How can I hide the black window which appears during the execution of a console application? I want to hide it, becasue I have a program which doesn't accept any user input and just goes on performing some specific tasks which takes quite long time. Thanks, Cheers, Rajdeep.NET ;)
-
Hi guys, How can I hide the black window which appears during the execution of a console application? I want to hide it, becasue I have a program which doesn't accept any user input and just goes on performing some specific tasks which takes quite long time. Thanks, Cheers, Rajdeep.NET ;)
-
Hi guys, How can I hide the black window which appears during the execution of a console application? I want to hide it, becasue I have a program which doesn't accept any user input and just goes on performing some specific tasks which takes quite long time. Thanks, Cheers, Rajdeep.NET ;)
No need to change your existing code just change your project output type as Windows Application instead of Console Application. How to change your project output type 1. from your solution explorer right click your console project then choose Property menu. 2. from the application tab change the value of Output type dropdownlist. Happy coding...
-
Hi guys, How can I hide the black window which appears during the execution of a console application? I want to hide it, becasue I have a program which doesn't accept any user input and just goes on performing some specific tasks which takes quite long time. Thanks, Cheers, Rajdeep.NET ;)
Rajdeep.NET wrote:
How can I hide the black window which appears during the execution of a console application? I want to hide it, becasue I have a program which doesn't accept any user input and just goes on performing some specific tasks which takes quite long time.
Don't run a console application then. If you have an application that doesn't require user interaction, write it as a service instead.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
No need to change your existing code just change your project output type as Windows Application instead of Console Application. How to change your project output type 1. from your solution explorer right click your console project then choose Property menu. 2. from the application tab change the value of Output type dropdownlist. Happy coding...
-
Rajdeep.NET wrote:
How can I hide the black window which appears during the execution of a console application? I want to hide it, becasue I have a program which doesn't accept any user input and just goes on performing some specific tasks which takes quite long time.
Don't run a console application then. If you have an application that doesn't require user interaction, write it as a service instead.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Alright.... I will remember that. Thanks, Rajdeep.NET :-D
-
Alright.... I will remember that. Thanks, Rajdeep.NET :-D