?
Solved

fullscreen internet explorer

Posted on 2000-05-12
7
Medium Priority
?
483 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

719 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