LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

excel version at VI start

I am using Win 2000 with LV6.1 I need to detect the version of Excel that is installed on the PC prior to starting Excel so I can remove the option to run Excel if the user does not have Excel 2000 installed. How do I do this? I tried an automation refnum and a version property node; however it does not return anything.
0 Kudos
Message 1 of 5
(3,135 Views)
Read the registry keys. Check the image.

-Joe
Message 2 of 5
(3,135 Views)
Joe's right. This is the only way to reliably do it. I run into this problem all the time. Everytime MS comes out with a new version of Excel, the ActiveX library changes and is no longer compatible with the LV ActiveX calls set up for previous versions, so you basically have to rewrite the code somewhat.
==============================================

0 Kudos
Message 3 of 5
(3,135 Views)
does someone have some sample code on how to read the registry keys? ideally for EXCEL versioning.
0 Kudos
Message 4 of 5
(3,135 Views)
there should be some examples of using registry keys.

"Help -> Find Example".

-Joe
0 Kudos
Message 5 of 5
(3,135 Views)