Results 1 to 8 of 8

Thread: IE9 Webbrowser Control and VB6?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2008
    Posts
    20

    IE9 Webbrowser Control and VB6?

    I seem to be having some trouble trying to access certain features of the Webbrowser. Particularly the dom.

    These lines of code works on all IE versions before 9;
    Code:
    Webbrowser.Document.Body.Scroll = "no"
    Webbrowser.Document.getElementById("ITEM").Style.display = "none"
    As an example...however when IE9 is installed it throws this error;


    Scary stuff...Anyone else experiencing the same particular problems with IE9 RC?
    Last edited by Stidor; Feb 24th, 2011 at 05:08 AM.

  2. #2
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    Re: IE9 Webbrowser Control and VB6?

    Which line of code?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Feb 2008
    Posts
    20

    Re: IE9 Webbrowser Control and VB6?

    All of them / any of them.

  4. #4
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: IE9 Webbrowser Control and VB6?

    If possible, what happen if you write Scroll and Style in lowercase as these should be declared lowercase in DOM?

    Although Scroll is IE-only feature, so it may be hidden behind another feature.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2008
    Posts
    20

    Re: IE9 Webbrowser Control and VB6?

    VB6 auto camel cases style and scroll, can't be changed.

    As mentioned earlier. These lines of code work perfectly fine when IE below v9 RC is installed.

  6. #6
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: IE9 Webbrowser Control and VB6?

    Then I simply suggest throwing a bug report and hope that they'll react. After RC hits final you aren't going to get much changes.

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Feb 2008
    Posts
    20

    Re: IE9 Webbrowser Control and VB6?

    I believe it's a broader problem than those 2 lines. All .Document.* lines are throwing errors.

    Will have a look though and see if there's anywhere to report the issue.

  8. #8
    Frenzied Member Jmacp's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    1,959

    Re: IE9 Webbrowser Control and VB6?

    I remember reading somewhere that the JS engine has been serioulsy updated for IE9 and VB6 isn't officially supported by MS anymore so maybe something in that.

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