Eugen Graf Posted June 14, 2007 Report Share Posted June 14, 2007 Hello, I wish to be able to create ActiveX (.ocx) elements with LV Application Bulder. I know I can create DLLs and EXEs, but ActiveX is not supported by Application Builder. Eugen Quote Link to comment
Yair Posted June 14, 2007 Report Share Posted June 14, 2007 ActiveX is Windows specific and (if I'm not mistaken) requires that you follow some very specific rules and it was probably decided that it's not worth it. The RTE itself is exported as an ActiveX object (that's what you get in a remote front panel), so you can enable the web server in your executable and have people embed the RFP object in their UI. If you want data communication, a DLL or TCP communication is proabably the way to go. Quote Link to comment
Eugen Graf Posted June 15, 2007 Author Report Share Posted June 15, 2007 QUOTE(yen @ Jun 13 2007, 07:29 PM) ActiveX is Windows specific and (if I'm not mistaken) requires that you follow some very specific rules and it was probably decided that it's not worth it.The RTE itself is exported as an ActiveX object (that's what you get in a remote front panel), so you can enable the web server in your executable and have people embed the RFP object in their UI. If you want data communication, a DLL or TCP communication is proabably the way to go. Yes, you are right, ActiveX is windows specific interface. Can you tell me how I can build in a LV element(e.g. controls) in other programms using DLL? Eugen Quote Link to comment
i2dx Posted June 16, 2007 Report Share Posted June 16, 2007 QUOTE(Eugen Graf @ Jun 14 2007, 09:56 PM) Yes, you are right, ActiveX is windows specific interface. Can you tell me how I can build in a LV element(e.g. controls) in other programms using DLL?Eugen to cut a long story short: I think this tutorial (http://zone.ni.com/devzone/cda/tut/p/id/3927' target="_blank">calling a DLL from Microsoft Visual C++ that was generated by LabVIEW 6i) may be a good entry point to get closer to that topic ... Quote Link to comment
Rolf Kalbermatter Posted June 18, 2007 Report Share Posted June 18, 2007 QUOTE(Eugen Graf @ Jun 14 2007, 02:56 PM) Yes, you are right, ActiveX is windows specific interface. Can you tell me how I can build in a LV element(e.g. controls) in other programms using DLL?Eugen To cut it even shorter you can't really. LabVIEW controls are just that: LabVIEW controls. As far as Windows is concerned they are just a few graphic lines inside a LabVIEW window. The closest you can get is embedding a LabVIEW front panel inside another Windows window, ActiveX or not. And that has some very tricky implications, one of them being message queue thread starving if you don't do it exactly right. Basically I would not think it worth the trouble to try it and yes I did attempt this a few years back, but with newer LabVIEW versions I would not expect this to having gotten easier, rather the opposite. Rolf Kalbermatter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.