Solved

fullscreen internet explorer

Posted on 2000-05-12
7
480 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month8 days, 3 hours left to enroll

617 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