LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying HTML data

I need to display formatted text with embedded links (HTML). Does LabWindows provide any textbox like control that has this functionality?
 
Thanks,
 
Edgar
0 Kudos
Message 1 of 3
(3,156 Views)
Hi Edgar,

There is no textbox that will automatically parse the HTML you pass to it and display it like a browser. A good way to accomplish this is to use an ActiveX container that calls to a web browser like Internet Explorer which would parse the code and display a web page with links, images, etc.

Some examples of using ActiveX to call Internet Explorer are found at C:\Program Files\National Instruments\CVI(version)\samples\userint\activex\WebBrowser.prj and C:\Program Files\National Instruments\CVI(version)\samples\activex\ie\iedemo.prj

You can also use the Microsoft Internet Browser control. After dropping in the control on the panel, right click and select "Generate ActiveX control driver" to give you the functions with which you can manipulate the control.
Test Engineer - CTA
0 Kudos
Message 2 of 3
(3,127 Views)
Thanks,
I used the example C:\Program Files\National Instruments\CVI(version)\samples\userint\activex\WebBrowser.pr to program my application. It was very helpful.
 
Edgar
 
0 Kudos
Message 3 of 3
(3,110 Views)