Full Screen Question
Full Screen Question
Full Screen Question
Full Screen Question
Full Screen Question
Full Screen Question Full Screen Question Full Screen Question Full Screen Question Full Screen Question Full Screen Question Full Screen Question Full Screen Question
Full Screen Question Full Screen Question
Full Screen Question
Go Back  Xtreme Visual Basic Talk > > > Full Screen Question


Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2003, 07:09 AM
bboggessswcg bboggessswcg is offline
Regular
 
Join Date: Jun 2003
Location: West Virginia
Posts: 51
Default Full Screen Question


I am writing a .NET web application and I would like to make the browser full screen at startup. Like pressing the F11 key. Is this possible with code?
Reply With Quote
  #2  
Old 12-18-2003, 07:44 AM
Csharp's Avatar
CsharpFull Screen Question Csharp is offline
Senior Contributor

* Expert *
 
Join Date: Jul 2003
Location: Ashby, Leicestershire.
Posts: 967
Default

like this....
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.SetDesktopBounds(0, 0, Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height) Me.TopMost = True End Sub
__________________
~~ please don't PM me regarding code, I only reply to personnal messages ~~
Reply With Quote
  #3  
Old 12-18-2003, 07:48 AM
bboggessswcg bboggessswcg is offline
Regular
 
Join Date: Jun 2003
Location: West Virginia
Posts: 51
Default

Thanks for the reply, but that is not an option in a web application. It may work in a windows application, but there is no setdesktop in a web application. Any other ideas??
Reply With Quote
  #4  
Old 12-18-2003, 10:03 AM
Flyguy's Avatar
FlyguyFull Screen Question Flyguy is offline
Lost Soul

Super Moderator
* Guru *
 
Join Date: May 2001
Location: Vorlon
Posts: 19,160
Default

What I now of webbrowsers is that you can't change the current open window from code unless you open the window yourself.
In that case you use either JavaScript/VBScript to open a new window with the correct parameters.

http://p2p.wrox.com/topic.asp?TOPIC_ID=7223
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Full Screen with DirectShow NoNameBrand DirectX 3 07-09-2003 06:47 AM
Full Screen videos Zort15 General 3 04-04-2003 10:05 AM
full screen apps and the shell command Topher2798 Interface and Graphics 1 10-07-2002 11:24 AM
Screen Design Question JenniferD Database and Reporting 5 12-14-2001 04:05 AM
DOS Mimic Screen Question JDYoder General 11 08-08-2001 09:19 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Full Screen Question
Full Screen Question
Full Screen Question Full Screen Question
Full Screen Question
Full Screen Question
Full Screen Question Full Screen Question Full Screen Question Full Screen Question Full Screen Question Full Screen Question Full Screen Question
Full Screen Question
Full Screen Question
 
Full Screen Question
Full Screen Question
 
-->