starting my console application at background

倖福魔咒の 提交于 2019-12-11 11:55:42

问题


my client wanted my C# console application which run internet explorer,to start work as a background window plus the internet explorer window that watin opens to be on background. i use visual studio 2005 and watin ver. 2.0.20.1989 . any answer to how i can do this?


回答1:


You don't even need to program anything to accomplish this. There's a command line that you can use:

start /min YourExecutable.exe

No need to write anything in your program at all. This will start any regular console application in the background as a minimized window. See the full documentation for start for more fun options.



来源:https://stackoverflow.com/questions/3314038/starting-my-console-application-at-background

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