LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX container (MS spreadsheet 10.0) is empty on a computer without LabVIEW

Similar problem with this one:

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=8717&requireLogin=False

 

sorry for asking the same quesio, but I still did not have it solved.   Smiley Sad

 

the executable file is working fine on the computers with LabVIEW installed, but the ActiveX container is empty on the ones without it.

 

registering the activeX control is the answer in the previous thread, but I was wondering which .ocx file needs to be registered on the computers to enable MS Excel with no LV & where the .ocx file can be find.  Is that everything I need to do to sort it out, or do I need to something else when building the executable file.

 

Thanks

 

OS: win XP 

 

LV version 7.1

Message Edited by fluencyu on 04-28-2010 09:44 AM
Message Edited by fluencyu on 04-28-2010 09:45 AM
0 Kudos
Message 1 of 26
(4,134 Views)
What are you trying to do? Write data to spread sheet? You can use a "write to spreadsheet" vi for this. If you want to use a activex then choose a activex container and right click choose Excel._Application or Microsoft Excel Object Library which you will find in the drop down menu.
0 Kudos
Message 2 of 26
(4,111 Views)

hi muks,

 

i've already insert Excel spreadsheet into LabVIEW using ActiveX container and the programme is woking well on the computers with LabVIEW installed.  however when I run the executable file which is built from the programme on a computer with no LabVIEW installed on it, the ActiveX container is still there but it is empty.  I found a post asking similar quesion, but I did not get it yet.  it says the ActiveX container needs to be registere, the *.ocx file,  but I do not know which file needs to be registered and where i can find it?

 

please see attached file which may explain the problem better  thanks

 

 

0 Kudos
Message 4 of 26
(4,094 Views)
you can use regsvr32.exe for excel.exe located at  C:\Program Files\Microsoft Office\OfficeXX
0 Kudos
Message 5 of 26
(4,086 Views)

hi,

 While buidling exe have you checked the option "enable activex server" ?.

 

Thanks and regards,

srikrishnaNF

 

 

 

Regards,
Srikrishna


0 Kudos
Message 6 of 26
(4,077 Views)

hi  srikrishnaNF

 

yes I have ticked the ckeckbox of  'enable activex server' and there isa TLB file in the folder where the executable file is saved.

 

Thanks

 

0 Kudos
Message 7 of 26
(4,065 Views)
Did you try registering the ocx?
0 Kudos
Message 8 of 26
(4,060 Views)

 Hi muks,

 

That is what I am asking Smiley Wink

 

I know I need to registering the ocx, but I do not know which *.ocx files I need to register onto the computers with no LabVIEW and where I can find these OCX files. New to ActiveX container.  sorry Smiley Sad

 

Thanks

0 Kudos
Message 9 of 26
(4,055 Views)

hi fluencyu,

  Which activex object you included into the container?Have you inserted this attached file or you imported any *.ocx file?

 

 

Thanks and regards,

srikrishnaNF

 

Regards,
Srikrishna


0 Kudos
Message 10 of 26
(4,053 Views)