0 Replies Latest reply on Apr 26, 2010 9:56 AM by RiceWithSugar

    .Net Locks on a PDF process is broken if any other PDF is already open

    RiceWithSugar

      Does anyone know how to lock a PDF process from

      .Net and not have the process broken if another PDF is open?

       

      Example:

      Open a PDF in .Net with a process start, try locking that object.  The PDF locks successfully if this is the only PDF open (created), however, if you have another PDF open prior then the Adobe Reader appears to break the weak lock through Aplication Domain boundaries.  The reason I want to lock the PDF object is to detect if the person is done viewing the PDF and then then delete the PDF file.  No matter what I try to get around the weak lock issue, the Adobe Reader always breaks my lock.

       

      Thanks,

       

      RiceWithSugar