LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone have Internet Explorer 7 embedded in a front panel?

Does anyone have an example they can share showing how to get internet explorer 7 embedded in a LV8.2 app using .NET
VIs to access web pages?
 
Thanks
Tim Crouse
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
Message 1 of 11
(3,849 Views)
This isn't necessarily Internet Explorer 7 but it does access the web.
Message 2 of 11
(3,830 Views)

Hey

 

That's pretty cool.  Is that ActiveX or .NET?

 

I noticed that if I right click on a table in the browzer window that it will let me export it to ms excel like a normal IE browser will

do you have any suggestions on how to select a table and export it to ms Excel?

 

Thanks

Tim C.

1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
Message 3 of 11
(3,822 Views)
 

It is ActiveX.  I found this example at https://forums.ni.com/t5/Example-Code/Building-a-Simple-Web-Browser-Using-ActiveX/ta-p/3996232

Right now, I am not sure about the exporting tables to excel automatically.   Can you direct me to a table to data that I can play with?

Message 4 of 11
(3,813 Views)
earnings.com
 
enter adbe in the seach box and the table of earnings dates is mid way down the page
 
direct link
 
 
I was using your example on a machine that has IE6,  I wonder if the example will work on a machine that has IE7?
 
Thanks
Tim C.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
Message 5 of 11
(3,809 Views)

The source code for that table contains the line:

<tr class="bgWhite" xmlns:msxsl="urn:schemas-microsoft-com:xslt">

which enables you to right click and export the date to Excel.  As far as how to do this programatically with LabVIEW I do not know at this time but would be interested to know myself.

0 Kudos
Message 6 of 11
(3,808 Views)
Hi all,

The example works great on my machine with IE7 installed.  Since we're accessing the browser's functionality via ActiveX, we're able to do just about anything you can do while running IE in its own window, including use plug-ins, access the right-click menus, etc.  I love playing with things like this in LabVIEW  Smiley Happy
Cheers,

Matt Pollock
National Instruments
0 Kudos
Message 7 of 11
(3,778 Views)

Hello

 

Do you have any suggestions on selecting a table in a browser window and saving a table to excel like you can on the browser right click menu?

 

Thanks

Tim C.

1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 8 of 11
(3,751 Views)
Hi Tim,

If you mean have LabVIEW select the table programmatically, an easier way to do this may be to use the DataSocket interface to read in the HTML page of interest and parse the resulting string for <table> and </table> tags.   Otherwise, you should still have access to the usual right-click menus within the bounds of the IE ActiveX container.  

Here's an example of what I mean about DataSocket:


Cheers,

Matt Pollock
National Instruments
Message 9 of 11
(3,724 Views)
SWEET!!!!   SWEETTTT!! 
 
Data mining made easy 🙂
 
Talk about about making my day,  no more going through 5 steps of excel...
 
Thanks
Tim C.
1:30 Seconds ARRRGHHH!!!! I want my popcorn NOW! Isn't there anything faster than a microwave!
0 Kudos
Message 10 of 11
(3,707 Views)