Can you run a VB application in full-screen?

46,190

Solution 1

set the WindowState property to Maximized

Solution 2

The FormBorderStyle line is essential to show as full screen, so the top bar controls are not visible.

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None
        Me.WindowState = FormWindowState.Maximized
End Sub
Share:
46,190
GeekMasher
Author by

GeekMasher

I love to learn more and more about programming!

Updated on December 19, 2020

Comments

  • GeekMasher
    GeekMasher over 3 years

    I just want to ask: How do you get an application, using Microsoft Visual Basic 2010 express, to run in full screen mode. You know what I mean, like a game would but an application.

    Is it possible? If not, tell me how and what I need to do it. Thanks.

  • Isuru
    Isuru over 12 years
    sorry, my bad. set the 'FormBorderStyle' to 'None'
  • user812786
    user812786 almost 7 years
    This is identical to user806549's answer.