Solved

VB.net Windows Form - automatically fill screen

Posted on 2014-02-12
2
490 Views
Last Modified: 2014-02-12
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
Comment
Question by:murbro
2 Comments
 
LVL 19

Accepted Solution

by:
Rikin Shah earned 500 total points
ID: 39855432
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
 

Author Closing Comment

by:murbro
ID: 39855438
Thanks very much
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question