Klaas,
ActiveX is a technologie from Microsoft for the purpose of exchanging
information between two seperate applications. In the time of
developement, ActiveX grew from COM/OLE to the current state, which
also allows you to control one application via another. But this only
works, if both applications support the ActiveX-interface. Furthermore,
one of them has to be server, in the case of controlling another
application, the one which is controlled has to support the server.
If your HMI-executable is delivered with an ActiveX-server, your
request of embedding and controlling the HMI into your own
CVI-application is rather simple. There are plenty of examples
available for this (e.g. Word/Excel).
If your HMI does NOT supply an ActiveX-server, you cannot use ActiveX
at all. So integration of the UI into your application will be nearly
impossible (if possible at all!).
Calling executables is very simple in CVI. just take a look into the
"LaunchExecutable(Ex)"-commands. The onyl drawback of these functions
is that you cannot directly exchange data with the executable like you
do this with your own functions (like returnvalue).
Norbert B.
NI Germany
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.