Can you run a VB application in full-screen? Can you run a VB application in full-screen? windows windows

Can you run a VB application in full-screen?


In your Form_load add the following two lines:

Me.FormBorderStyle = Windows.Forms.FormBorderStyle.NoneMe.WindowState = FormWindowState.Maximized

Obviously, you can place the code elsewhere than in form_load - and depending on your list of includes you may need more or less prepending.


set the WindowState property to Maximized


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.MaximizedEnd Sub