LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can a Visual Studio UI (C++ or C#) be imbedded into a LabWindows CVI UIR

Solved!
Go to solution

Is it possible to have a Visual Studio UI as a element of a LabWindows CVI UIR and if so how? 

0 Kudos
Message 1 of 3
(2,510 Views)
Solution
Accepted by umquat

Hello,

 

I had a look into this and I don't think it is possible directly, given the article I found below:

 

http://digital.ni.com/public.nsf/allkb/1AC1B01A086BF61F49256F23004EEC26

 

However it does mention ActiveX supporting embedded ActiveX controls which I suspected also, it leads on to reference the below article about what features are available with regards to ActiveX in LabWindows/CVI:

 

http://digital.ni.com/public.nsf/allkb/610540BB3EA4EBDD862568960055E498

 

This may also be helpful:

 

http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/uiref/cviprogramming_with_activex_control/

 

I believe this article should walk you through the process of creating an ActiveX control in Visual Studio:

https://www.codeproject.com/Articles/1256/Exposing-Windows-Forms-Controls-as-ActiveX-control

 

This microsoft tutorial is however more up to date:

 

https://blogs.msdn.microsoft.com/asiatech/2011/12/05/how-to-develop-and-deploy-activex-control-in-c/

 

Best regards,

 

Ed

Message 2 of 3
(2,408 Views)

Cheers for that... You've confirmed my thoughts on the subject.

0 Kudos
Message 3 of 3
(2,403 Views)