Article View: adobe.reader
Article #5206Problem reading pdf using AxInterop.AcroPDFLib
From: MikeThys
Date: Mon, 15 Sep 2008 10:49
Date: Mon, 15 Sep 2008 10:49
24 lines
1847 bytes
1847 bytes
Hi, I'm currently using AxInterop.AcroPDFLib with C# in a winform application. Purpose is to display PDF files in my application. Thoose files are located on a share directory. Everything works fine, the program is installed on multiple pc that display the file at the same time without problem. BUT, when i open the same PDF file on a computer using acrobat pdf reader, i can't open the same file using the AxInterop.AcroPDFLib dll. After some deep search on the files, on the servers, ... it seems to be linked with file locking. Let me explain : when the file is opened by the AxInterop.AcroPDFLib dll, no lock appears on the server ( share directory ) or at least it appears and is released in the same second. when i open the PDF file via acrobat reader, the lock is set, and remain until i close the file in the pdf reader. which means that when someone open a file, all the computer using the AxInterop.AcroPDFLib ares blocked and can't start reading the file. Is there a way to configure the AxInterop.AcroPDFLib to allow reading on locked files (locked for reading) Thanks Mike
Technical Details
Message-ID:
<59b67cab.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!news4us.nl!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: 10273d,6ecd9ea748543f0d,start X-Google-Attributes: gid10273d,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: MikeThys@adobeforums.com Newsgroups: adobe.reader Subject: Problem reading pdf using AxInterop.AcroPDFLib Message-ID: <59b67cab.-1@webcrossing.la2eafNXanI> Date: Mon, 15 Sep 2008 03:49:27 -0700 Lines: 23 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!news4us.nl!webcrossing X-Original-Lines: 34 X-Original-Bytes: 1642