Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Hi How to make the Form in vb.net run in fullscreen ?
Posted
Updated 7-Dec-17 1:27am

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:
VB
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. :)
 
Share this answer
 
Comments
Lotus90 28-Sep-12 12:49pm    
Thaaank u ..It's working well :))))
Member 11797098 29-Jun-15 0:50am    
thank you..it's working
Manoj K Bhoir 29-Jun-15 2:09am    
Welcome :)
 
Share this answer
 
USE FOLLOWING CODE
VB
FormBorderStyle = FormBorderStyle.Sizable
TopMost = False
WindowState = FormWindowState.Normal
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900