LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX error

I used ActiveX to load a PDF reader (Adobe Acrobat 5.0) in LabWindows 6. It works fine in my computer( LabWindows 6 installed). Using Distribution Kit to install the program in other computer, I got the following error:

Error in "LoadPanel (0, "OP.uir", PDF)"
Error code: -143 ActiveX error.

I was trying to reinstall the different version of Adobe Acrobat, but it doesn't work.
Thanks.
0 Kudos
Message 1 of 3
(3,238 Views)
Supplementary:
I found that the PDF file open properly if enable the "Register Files as ActiveX Servers"
("Install ActiveX Container Support" is enabled already) during create Distribution Kit.
But problem is : while you click setup.exe for installation, the application program is started automatically before setup.exe done. You have to close the program to let "Setup" finished.

How to solve it ? thanks.
0 Kudos
Message 2 of 3
(3,238 Views)
Hello

Are you distributing the ocx file for the Acrobat with your application? If you are, you can try seperating the ocx in a different file group as the exe ( with creating the distribution kit), and then checking the "Register Files as Activex servers" option just for that group. This way, it would only register that ocx and your entire panel wont come up

Hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 3 of 3
(3,238 Views)