• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 514
  • Last Modified:

VB.net Windows Form - automatically fill screen

Hi

I have a Windows form with a WebBrowser control. What VB.net code would I use to automatically size the form to fill the screen. I want to mimic a web browser.

Thanks
0
Murray Brown
Asked:
Murray Brown
1 Solution
 
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Hi,

If you mean you want to maximize the screen by default. There is a property you can set in design mode.

Or you can add below line on Form.Load event-
Me.Windowstate = FormWindowState.Maximized
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now