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
A:
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.
Dave Markle
2010-07-22 22:36:39
i tried doing it, it didn't opened my console application however it opened my ie from watin.
eden
2010-07-22 22:55:42
Then I have no idea what you're talking about.
Dave Markle
2010-07-22 23:41:09
solved it with WatiN.Core.Settings.MakeNewIeInstanceVisible = false;
eden
2010-07-23 00:30:15