7 Replies Latest reply on Aug 2, 2012 4:51 AM by lrosenth

    AVDoc Open method & enhanced security/protected view



      I have recently inherited some code that merges two PDFs together using OLE automation.


      I've found that the code works with Acrobat X if Enhanced Security is disabled but it fails to open a PDF from a file if Enhanced Security is enabled (Protected View is set to All Files).


      I've traced the problem down to the Open method of the AVDoc class. Open always returns 0 even if the file exists.


      Is this the expected behaviour if Protected View is enabled? Are there any work-arounds?