From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-05-2010 11:19 AM
Hello,
I am using the Excel examples shipped with Labview 8.21 to read from an Excel file and this works well. Now I need to do the same but on a PC that does not have Microsoft Office or Excel installed but only the free XLVIEWER (Microsoft Office Excel Viewer). When I try to change the ActiveX class of my reference to feed the 'Automation Open' vi I get the Class not registered (error -2147221164) although I can browse down to the XLVIEWER.exe and select it. Then I thought that maybe XLVIEWER had no ActiveX to communicate with other application; I thus installed a package called excelocx.exe, rebooted the PC but that did not change anything. I am still stuck with the same error.
What am I doing wrong?
Thanks a lot,
Christophe
02-08-2010 12:14 AM - edited 02-08-2010 12:16 AM
And you should have the ms office excel installed.
02-08-2010 03:33 AM
Hello Muks and thanks for your message.
Maybe I was not clear enough: the idea that we have is to get rid of Excel and to only use Xlviewer.
The procedure that you refer to did not help. And to register the ActiveX we had to log on as an administrator which is the opposite of what was written in the document. Strange...
Thanks
Christophe
02-11-2010 07:01 AM
Hello,
Can you upload the file you use?
It could just be that XLViewer doesn't support that ActiveX control.
Otherwise you can use OpenOffice to read your excel files.
02-12-2010 09:52 AM
Please find attached the VI I am using together with the XLS file that I try to read with Labview on a Pc that does not have MS Excel installed, only the XLVIEWER.
OpenOffice is not supported in our company so cannot be considered as a valid solution.
Thanks,
Christophe
02-17-2010 02:32 AM
Hello,
I've installed Microsoft Office Excel Viewer (I assume you're using that) and it seems like there's no support for activeX controls included.
If you really can't use anything else dan XLviewer because of company policy, then i would advise you to contact microsoft and ask them if activeX controls are actually supported.
09-21-2010 09:31 AM
Hi,
I read your disscusion about Excel Viewer. I have a question: how to register xlview or which dll have to be register that Read Excel File.vi to work.
Thanks, in advance
Laurentiu