|Subject:||VB.NET 2005 -- Minimizing Application On Startup|
|Posted by:||Stewart Berman (email@example.com)|
|Date:||Tue, 14 Apr 2009|
I have a VB.NET 2005 application that should start up in a minimized state. The code sets
Me.WindowState to 1 at the end of the Form Load event but the application window opens normally.
I put the following as the last bit of code in the Form Load event:
MsgBox("Load Ending -- WindowState: " & Me.WindowState.ToString(), MsgBoxStyle.OkOnly)
The message box says the WindowState is Minimized yet the form opens in a normal window.
What am I missing to have the application start minimized?