LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding ActiveX Microsoft Web Browser control crashes LoadPanel() function

I have used LabWindows 6.0 to design a GUI application. One of the panels contains Microsoft Web Browser ActiveX control. When I compile the code on my computer everything works. But when I compile the same project on another computer (that has the same software installed, Labwindows 6.0, Windows XP) the LoadPanel()  function crashes the application. When I remove the ActiveX control it works perfectly. Is there anything else that I need to install/do in order to be able to compile the project on a different computer? Can someone help please?

Edgar TH
0 Kudos
Message 1 of 4
(3,373 Views)
Edgar,

I would check the two threads here and here for suggestions. Is the same version of IE installed on both computers or does one have 6 and another 7?
Test Engineer - CTA
0 Kudos
Message 2 of 4
(3,356 Views)

Both of the computer's have Internet Explorer 6.0.2900.2180.

When I compile the release code in machine A, create the distribution kit in machine A, and then install the software on machine B, the software works perfectly.

Only when I try to compile the release code in machine B,  it compiles without errors, but when the gui is about to be shown the application crashes. I figured out that the LoadPanel() function is the one that causes the "Run Time Error". And, of course if I make a distribution kit with this release (.exe) in machine B and install it anywhere (even in machine A) it crashes.

In other posts looked like everyone was getting compile time error. In my case, the code compiles with 0 errors. I am getting run time error, and the application shuts down.

Edgar TH

0 Kudos
Message 3 of 4
(3,322 Views)
If you delete the control and re-add it on machine B does it still crash?
Test Engineer - CTA
0 Kudos
Message 4 of 4
(3,317 Views)