LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IWebBrowser2 can´t completely read a web page

Solved!
Go to solution

Hi!

 

I have been using the Rip Web Text LV 2012.vi example to read the following web page:

http://www.livescore.com/soccer/2016-08-22/

 

Unfortunately the embedded WebBrowser control doesn´t display the complete web page information. First a Script error ocurrs (See attachment) and eventually a message that "the browser is out of date" will be displayed in the embedded WebBrowser control (See attachment).

 

The Rip Web Text LV 2012.vi example can be found here:

https://decibel.ni.com/content/docs/DOC-3709

 

I appreciate if someone has a solution to this.

 

Thanks in advance.

 

Andy

 

 

0 Kudos
Message 1 of 3
(2,222 Views)
Solution
Accepted by topic author RealBjörkis
08-23-2016 04:20 AM

If the page you are accessing requires a certain version of IE (the control uses IE7 by default, I believe), there is a registry key change you can make to make the Web Browser Control use a more recent version of IE. See here for details: https://weblog.west-wind.com/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version

 

Note that it applies to the executable running the WebBrowserControl - so that's either LabVIEW.exe in the development environment, or YourExecutableName.exe in the runtime engine.

Message 2 of 3
(2,187 Views)

Hi Sam,

This was really helpful. Now I even can get the text that were not even accesible through the web pages own source. I discovered also that the process name is case sensible. It didn´t work with "labview.exe". It has to be written in the registry like you proposed "LabVIEW.exe". 

 

Thanks!

0 Kudos
Message 3 of 3
(2,181 Views)