-
Feb 24th, 2011, 03:39 AM
#1
Thread Starter
Junior Member
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.
-
Feb 24th, 2011, 05:01 AM
#2
Re: IE9 Webbrowser Control and VB6?
-
Feb 24th, 2011, 05:06 AM
#3
Thread Starter
Junior Member
Re: IE9 Webbrowser Control and VB6?
All of them / any of them.
-
Feb 24th, 2011, 05:34 AM
#4
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.
-
Feb 24th, 2011, 05:36 AM
#5
Thread Starter
Junior Member
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.
-
Feb 24th, 2011, 05:50 AM
#6
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.
-
Feb 24th, 2011, 05:53 AM
#7
Thread Starter
Junior Member
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.
-
Feb 24th, 2011, 06:38 AM
#8
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|