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;
http://img824.imageshack.us/img824/1...0224183749.png
Scary stuff...Anyone else experiencing the same particular problems with IE9 RC?
Re: IE9 Webbrowser Control and VB6?
Re: IE9 Webbrowser Control and VB6?
All of them / any of them.
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.
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.
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.
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.
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.