LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating .NET object on CVI panel

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.

0 Kudos
Message 1 of 3
(3,102 Views)

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,

James W.
Applications Engineer
National Instruments
Message 2 of 3
(3,081 Views)

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.

0 Kudos
Message 3 of 3
(3,077 Views)