How to run Console Application in Background (no UI)?

Josh Stodola picture Josh Stodola · Feb 10, 2010 · Viewed 32.5k times · Source

Possible Duplicate:
.Net Console Application that Doesn’t Bring up a Console

I have a console application written in VB.NET that will become a scheduled task on a web server. It will run every ten minutes. The problem is that every ten minutes it displays the empty black CMD window while processing, which can be distracting. How can I configure it to run in the background (with no CMD window displayed)?

Answer

Arthur picture Arthur · Feb 10, 2010

Set on your Project in "Application" the Output Type to "Windows Application".