LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Determine if an Instance of Microsoft Excel is Running?

Hello,
 
In LabWindows/CVI, I need to determine if one or more instances of Microsoft Excel are running.  Can anybody point me to a CVI function that would do the job?
 
Thanks,
 
Chopper77
0 Kudos
Message 1 of 3
(3,077 Views)
I suppose the easiest wat is to try to connect to it: you could use the ActiveX command Excel_ActiveApp (you'll need to load Excel2000.fl instrument driver to use it) and see if it returns an error.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,063 Views)
Hi Chopper77.

If you have the Windows SDK installed, you could adapt this code from MSDN to do the job.

0 Kudos
Message 3 of 3
(3,034 Views)