Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Hi
How to make the Form in vb.net run in fullscreen ?
Posted 27-Sep-12 4:07am
Lotus90317
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If you see all the Properties of Form in VB.NET, you will find WindowState Property.
Set this property value to Maximized your Form will be open with FullScreen Mode.
 
Or you can do the Same thing from Code. Write the Following Code on Form Load Event:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.WindowState = FormWindowState.Maximized
End Sub
I hope it will help you. Smile | :)
  Permalink  
Comments
Lotus90 at 28-Sep-12 12:49pm
   
Thaaank u ..It's working well :))))
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

USE FOLLOWING CODE
FormBorderStyle = FormBorderStyle.Sizable
TopMost = False
WindowState = FormWindowState.Normal
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 24 May 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100