05-01-2013 01:24 PM
Hello everyone,
I have been trying to get a WebBrowser .NET control to display on a panel created in CVi uir file. I can do this with an ActiveX control but it does not have print functionality which is what I am trying to add for html files. I have created a .NET controller function panel, I can call the functions to create an object, but I can't figure out to get a visible WebBrowser object on my panel.
I have been looking for some examples as well, I see some .NET controller examples, but nothing that displays an object. I see some examples for LabView using the WebBrowser but that doesn't help me 😞
Thanks in advance,
Ed.
05-02-2013 02:42 PM
Hi Mande,
I do not think the functionality you are seeking is currently available in CVI, looking through the CVI documentation on the .NET LIbrary Overview "LabWindows/CVI is not a .NET control container. Therefore, you cannot use .NET user interface objects in LabWindows/CVI panels."
I do not believe you will be able to actually display your WebBrowser from a .NET controller.
Depending on your need, you may be able to just do it in C, there is an example found here on the subject
Regards,
05-02-2013 03:45 PM
Thank you James,
I had read that in the documentation and was thinking that it meant I couldn't drop them onto my panels in my UIR file at design time. It was probably a case of how I wanted to read it.. wishful thinking. I guess I will go back to the drawing board on this one.
Thanks again.