Select a type library from the top pull-down menu of the Select Object From Type Library dialog box.
Select an object from the Objects box and click the OK button.
On the block diagram, select the Automation Open function on the Functions»Communication»ActiveX palette and place it.
Wire the Automation Refnum control to the Automation Open function.
Place the Functions»Communication»ActiveX»Invoke Node on the block diagram.
Right-click the Invoke Node and select Methods. Select a method from the list that appears.
Select the Automation Close function on the Functions»Communication»ActiveX palette and place it on the block diagram.
Wire the dup reference output of the Invoke Node to the reference input of the Automation Close function.
Run the VI. The Automation Open function opens a reference to the application you requested in the Automation Refnum control on the front panel, then performs the method you requested in the Invoke Node.