LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with an ActiveX container with a Microsoft Web Explorer in a subpanel

I have an application with a subpanel.When I push a button I insert another VI in the subpanel. This VI has an ActiveX container with a Microsoft Web Explorer inside. The problem is that the first time I insert the VI all works, but the next time the VI is inserted the ActiveX container appears empty.

Could anybody help me? Thank you very much.
0 Kudos
Message 1 of 5
(3,067 Views)
See if this works:
1. Hide the subpanel
2. Insert the VI
3. Show the subpanel

Also make sure the VI used in the subpanel is closed properly.

-Joe
0 Kudos
Message 2 of 5
(3,067 Views)
Hi,

In the following two VIs ( uno.vi & dos.vi) I have tried to reproduce the problem you are facing. In my case eveything worked properly.

I used LV 7 & Internet Explorer 6.0.2800.1106 under Windows 2000

Try running the VIs I attach and check if the same thing goes on happening.

YonA
Download All
Message 3 of 5
(3,067 Views)
Hi,

Do you close the reference to the AX container? Container should not be
closed! If you close them, the next time they will not appear.

Regards,

Wiebe.
"xavif0" wrote in message
news:506500000008000000F2CF0000-1079395200000@exchange.ni.com...
> I have an application with a subpanel.When I push a button I insert
> another VI in the subpanel. This VI has an ActiveX container with a
> Microsoft Web Explorer inside. The problem is that the first time I
> insert the VI all works, but the next time the VI is inserted the
> ActiveX container appears empty.
>
> Could anybody help me? Thank you very much.
0 Kudos
Message 4 of 5
(3,067 Views)
A slight wait in the loop would help lowering the CPU usage significantly. 🙂

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