Hi All, InternetExplorer.AddressBar = False was working fine with IE 8. But in IE 9, this does not work. Address Bar is visible. Please help.
Printable View
Hi All, InternetExplorer.AddressBar = False was working fine with IE 8. But in IE 9, this does not work. Address Bar is visible. Please help.
Works fine for me
Version: 9.0.8112.16421Code:Private Sub cmd_Click()
Dim ie9 As Object
Set ie9 = CreateObject("InternetExplorer.Application")
ie9.Visible = True
ie9.AddressBar = False
End Sub
Update Versions: 9.0.16
according to 'About'
(Running 32bit OS)
Nope...works fine on Win 7. Did you copy Doog's code and try?
Shot in the dark.....can you download/reinstall IE9? (WIth latest update), then try. As you can see by responses, no one seems to be experiencing same as you.
Maybe if Sam or Doogle are nice, they will lend you a copy of their Internet Explorer 9. Sometimes at my house if the wind is coming from N-W then my Internet Explorer does not load VBFORUMS.COM correctly, is it just me?
@Surekha: Are you running Windows 7 64Bit? I believe in 64bit editions of Windows there are 2 Internet Explorers (1 is for 32bit and the other for 64bit) I'm not sure which is the default - it may be something to do with that. I don't have W7 or any 64bit editions so I can't test it.
@Max.....and when that wind comes from the NW in BC, I have no doubt your IE9 doesn't work right. As a matter of a fact, with those cold winds, I am surprised your computer works at all. :-) OR, it could just be you!
@Doogle/Surekha....I am on Win7, 32bit...I don't have 64 either.
OPen Control Panel, System.
Works on win7 64 and I can even toggle between show/hide.
Hi, I myself got a solution for this. I was able to hide the addressbar for other URLs (Google.com, icicibank.com, etc.) with same piece of code but not for the internal website. So changed the order of invoking the objects.
<big>Old Code:</big>
<pre>browser.Navigate ("http://www.internalsite.com/")
browser.Toolbar = False</pre>
<big>New Code:</big>
<pre>browser.Toolbar = False
browser.Navigate ("http://www.internalsite.com/")</pre>
Now it is working fine.. :)
What are you writing this in?
This is in VB6.0 where we are trying to open a internet explorer.
Old Code:
browser.Navigate ("http://www.internalsite.com/")
browser.Toolbar = False
New Code:
browser.Toolbar = False
browser.Navigate ("http://www.internalsite.com/")
After doing the above change, it is working fine.. :thumb: :)