12-28-2016 12:19 PM
Is it possible to have a Visual Studio UI as a element of a LabWindows CVI UIR and if so how?
Solved! Go to Solution.
01-21-2017 09:54 AM
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
01-21-2017 11:40 AM
Cheers for that... You've confirmed my thoughts on the subject.