LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem opening pdf files in labview

Hi I need to open a pdf file within labview, so i have used an active x container.  Now this was working fine till i just updated Adobe (don't know if it is because I upgraded to a higher version or because I have adobe writer as well now).  Below is the error code i am getting from

"Error 3006 occurred at Automation Interface can only be used in the User Interface Execution System. You can change the execution system from the VI Properties»Execution preferences in sample.vi

This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input."

What I was wondering was whether i was going about it the right way to begin with (didn't want to use the system exec since i wanted to open the pdf inside my application) and if I was doing it right why is it not working now.
 
The way i am going about it now is using an acitve x container to open a webbrowser that has a link to the pdf and opens it inside the browser but again i would like to open the pdf without a web browser.
 
thanks
 
Reza
Download All
0 Kudos
Message 1 of 3
(4,226 Views)
Veza,

I downloaded your VI and was able to reproduce the issue. I was actually able to resolve the error by following the steps highlighted in the error mesage by going to File >> VI Properties >> Execution and changing Preferred Execution to User Interface System.

Regards,

Chris Delvizis



Message Edited by Chris_D on 11-28-2007 10:47 AM
Regards,

Chris Delvizis
National Instruments
Message 2 of 3
(4,208 Views)
thanks
0 Kudos
Message 3 of 3
(4,198 Views)