How to run my application in maximized window state

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ajay Bhalala
    New Member
    • Nov 2014
    • 119

    How to run my application in maximized window state

    How can I do this?

    While running the application, the form should be in maximized state in vb.net (Visual Studio 2008)
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    In the loaded event for your form set the Form's FormBorderStyle Property to none to hide the frame around the window and set the WindowState Property to Maximized. See the documentation links for more information about these properties.

    For example:
    Code:
    Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
    Me.WindowState = FormWindowState.Maximized

    Comment

    • Ajay Bhalala
      New Member
      • Nov 2014
      • 119

      #3
      Than you so much for the help. It works. and I have get more information about the vb.net

      Comment

      Working...