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

落花浮王杯 提交于 2019-12-03 14:59:12

问题


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)?


回答1:


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



来源:https://stackoverflow.com/questions/2239151/how-to-run-console-application-in-background-no-ui

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!