When you activate LabVIEW as an ActiveX server, LabVIEW exports two classes: an application class and a virtual instrument class. The application class opens a reference to the virtual instrument class.
Complete the following steps to activate LabVIEW as an ActiveX server.
If you want to call a stand-alone application from an ActiveX automation client such as Visual Basic, you must enable the ActiveX server for the application when you build the application. To do so, place a checkmark in the Enable ActiveX server checkbox on the Advanced page of the Application Properties dialog box.
Refer to the VBToLV.frm, VBToLV.vbp, and VBToLV.vbw files in labview\examples\comm for an example of calling LabVIEW as an ActiveX server from Microsoft Visual Basic.