From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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

 

 

Download All
0 Kudos
Message 1 of 3
(6,130 Views)
Solution
Accepted by topic author RealBjörkis

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.


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 2 of 3
(6,095 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
(6,089 Views)