When I run my VB.NET Winforms app I do not want it to steal the focus from the other open apps. FYI, my app is started from the command line but that shouldn’t make a difference. I’ve seen question 577076 but that doesn’t seem to work.
What is the best way to do this?
Here is what I did to get this working:
I added the following code to my Form1.vb file:
But still no success.
Then I unchecked the Enable Application Framework checkbox on the Application tab of the project properties.
Success!!!