Solved

fullscreen internet explorer

Posted on 2000-05-12
7
474 Views
Last Modified: 2008-03-04
Im calling an internet explorer session
using the following code:

Dim browser2 As InternetExplorer
'create the object
Set browser2 = CreateObject "InterNetExplorer.Application")
browser2.Visible = True
'open the web page
browser2.Navigate ("http://www.url.com")
browser2.FullScreen = True

The problem is when I specify fullscreen for the browser the address bar, buttons and menu bar dissappear.
How can I get a full screen browser but retain those items?

Thanks

0
Comment
Question by:reido2
  • 3
  • 2
  • 2
7 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 2805120
try this:

Dim IEobj As New SHDocVw.InternetExplorer


Private Sub Form_Load()
    IEobj.Navigate "www.opengl.org"
    IEobj.Visible = True
    SendKeys "{F11}"
End Sub

0
 
LVL 9

Expert Comment

by:GivenRandy
ID: 2805122
Use this:

browser2.TheaterMode = True
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2805143
oops i forgot about the address bar

IEobj.addressbar = true
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:reido2
ID: 2805217
Azrasound your solution has the same effect as givenrandy. This is all very well but it still doesn't look the same
as a maximized windows explorer.

I personally dont like the theatermode.

Any thoughts?
0
 
LVL 28

Accepted Solution

by:
AzraSound earned 50 total points
ID: 2805242
maximized?  oh thats a different story...

Option Explicit
Private Declare Function ShowWindow Lib "User32" (ByVal Hwnd As Long, ByVal nCmdShow As Long) As Long

Const SW_SHOWMAXIMIZED = 3


Private Sub Command1_Click()
    Dim retval As Long
    Dim IEobj As New SHDocVw.InternetExplorer

    IEobj.Navigate "www.opengl.org"
    IEobj.Visible = True
    retval = ShowWindow(IEobj.Hwnd, SW_SHOWMAXIMIZED)

End Sub

0
 
LVL 9

Expert Comment

by:GivenRandy
ID: 2805244
I'm not sure exactly what you want, then.
0
 

Author Comment

by:reido2
ID: 2805329
Thats the one I wanted. Cheers.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

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