Results 1 to 16 of 16

Thread: How to hide AddressBar using VB6 in Internet Explorer 9

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2013
    Posts
    6

    Question How to hide AddressBar using VB6 in Internet Explorer 9

    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.

  2. #2
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    Works fine for me
    Code:
    Private Sub cmd_Click()
    Dim ie9 As Object
    Set ie9 = CreateObject("InternetExplorer.Application")
    ie9.Visible = True
    ie9.AddressBar = False
    End Sub
    Version: 9.0.8112.16421
    Update Versions: 9.0.16
    according to 'About'

    (Running 32bit OS)

  3. #3
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    Quote Originally Posted by Doogle View Post
    Works fine for me
    Works for me too!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  4. #4

    Thread Starter
    New Member
    Join Date
    May 2013
    Posts
    6

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    Quote Originally Posted by Nightwalker83 View Post
    Works for me too!
    Ok.. So is it the problem with Windows 7?

  5. #5
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    Nope...works fine on Win 7. Did you copy Doog's code and try?

  6. #6

    Thread Starter
    New Member
    Join Date
    May 2013
    Posts
    6

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    Quote Originally Posted by SamOscarBrown View Post
    Nope...works fine on Win 7. Did you copy Doog's code and try?
    Ok.. I am not sure. We are using same code as Doog's code only.

  7. #7
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    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.

  8. #8
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    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?

  9. #9
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    @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.

  10. #10
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    @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.

  11. #11

    Thread Starter
    New Member
    Join Date
    May 2013
    Posts
    6

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    Quote Originally Posted by Doogle View Post
    @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.
    'm not sure about the bit in what my Windows 7 is running. How to check that?

  12. #12
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    OPen Control Panel, System.

  13. #13
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    Works on win7 64 and I can even toggle between show/hide.

  14. #14

    Thread Starter
    New Member
    Join Date
    May 2013
    Posts
    6

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    Quote Originally Posted by RhinoBull View Post
    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..

  15. #15
    PowerPoster SamOscarBrown's Avatar
    Join Date
    Aug 2012
    Location
    NC, USA
    Posts
    9,622

    Re: How to hide AddressBar using VB6 in Internet Explorer 9

    What are you writing this in?

  16. #16

    Thread Starter
    New Member
    Join Date
    May 2013
    Posts
    6

    Resolved Re: How to hide AddressBar using VB6 in Internet Explorer 9

    Quote Originally Posted by SamOscarBrown View Post
    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..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width