Click here to Skip to main content
14,977,979 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have an application which i want to open in full screen mode ... (the same can be achieved using F11) .. but I want to do this programatically. I have a login page ... once i click on the login button, i want my application to open in full screen mode. Please let me know how to achieve this.

You can't. You have no control over the users browser window.
Create a windows form application project

drag the web browser control in to the form

goto web browser properties

select Dock = Fill

Select the form

Goto Form properties

Select TopMost = True

FormBorderStyle = None

WindowState = Maximized

Update the url in webbrowser

And update your backgroud codes

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