LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with NIReport.llb\Print HTML Report using IE.vi on different machines

We have 5 machines here in our workgroup which have the same state regarding security patches and other system updates. We recently found out that there is a problem with the NIReport.llb\Print HTML Report using IE.vi on the different machines.
 
If I would open the VI on MachineA the control could be loaded. If I would open the VI on MachineB the control could be loaded. If I would copy the VI from MachineB to MachineA and open the VI the control could not be loaded. If I would copy the VI from MachineA to MachineB and open the VI on MachineB the control could be loaded. MachineB could load the version from MachineA and MachineB but on MachineA only the own version will load. I have seen that both versions have the same GUID for the Microsoft Webbrowser but are different in some other aereas.
 
Since printing HTML Reports is part of the application which will be distributed as application I want to know if someone else have seen such a behaviour or has got problems distributing an application.
 
Also I want to know which additional information is stored in an Active-X container about the control beside the GUID.
 
We have Win XP Prof SP2 with MS IE 6.0.2900.2180 on all machines in the workgroup.
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 1 of 6
(3,545 Views)
Hi Waldemar,

could you explain me which control you mean and perhaps send me a screenshot with the error massage?

Regards
TomBaum
0 Kudos
Message 2 of 6
(3,536 Views)
Hi Tom,
 
this is the VI <vi.lib>\Utillitiy\NIReport.llb\Print HTML Report using IE.vi copied from a machine that can load and run the VI and it will print. On this machine the control in the VI is white.
 
This VI will give the "Control could not be loaded" message on my machine.
 
The file shdocvw.dll is 2006-10-23 16:18 size 1.460 KB and I verifyed that both machines have the same version of this file.
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 3 of 6
(3,532 Views)

Why are you copying this VI from one machine to another?  It's a shipping VI with LabVIEW...why not just use the installed version of that VI in the LabVIEW you have on each machine?

-D

0 Kudos
Message 4 of 6
(3,518 Views)

Hello Darren,

we have modified this VI to get a print preview. We added another control to the connector pane indicating to print or show print preview and used another OLECMD in the case we want the print preview. Also we moved and scaled the Active-X container and open the front panel when we want the print preview. This modified VI got the problem described here.

I just want to test if this behaviour results from our modifications or is also existent in the original VI I copied just the original VI and got the same result.

The VI installed on my machine works fine on my machine and on the other machine.

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 5 of 6
(3,516 Views)
Hi Waldemar,

did your problem still exists or did you solve it in the past? I got another idea for you, check the version of activeX on both computers? If they don't agree, update both to the same version!

Regards
TomBaum
0 Kudos
Message 6 of 6
(3,439 Views)