Running my console application in the background

my client needed my C # console application, which launched Internet Explorer to start working as a background window, and also the Internet Explorer window, which opens to be in the background. I am using visual studio 2005 and watin ver. 20/20/1989. Any answer to the question, how can I do this?

+1
source share
1 answer

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

start /min YourExecutable.exe 

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

+1
source

Source: https://habr.com/ru/post/1340337/


All Articles