PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

Include the Internet explorer control in your app. instead of the
pdf.ocx. Since pdf.ocx is supported for use in Internet explorer - in
fact that is its whole purpose in being - you don't have to worry about
Leonard's pertinent warnings or, more than likely, your current
problems.

As an added bonus, you can open a whole swag of other types of files in
the IE control, not just PDFs


>>> [EMAIL PROTECTED] 11/Dec/2003 10:40:55 am >>>

PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com 
_____________________________________________________________

Hi all,

I have question regarding the reload of acrobat reader ocx (pdf.ocx).
If you
open up a PDF file from a browser, and then launch Acrobat/Acrobat
Reader,
and close it, you will see the PDF file in the browser disappears. By
"REFRESH"ing the browser however, you can get it back.

My question is how to do it in my own application written in .NET (or
any
other platform if you know how). 

To go more in detail of the problem, this is what I have found out. I
have
placed a reader OCX in my application, and have a variable, say
PDFControl,
referencing it. When an external Acrobat program launches and closes,
the
pdf document in my application disappears (just like it would  in a
browser). I understand this could be becoz of the control running as
out-of-process COM stuff. Interestingly, at this time when I call
functions
through PDFControl, e.g. PDFControl.Print(), no exception occurs!!
Isn't the
control dead already? Why won't the Interop throw an exception since
the
control it is wrapping no long exist? Anyways I don't really care
whether it
throws any exception, but really how to restart the control just like
IE
would do.

I am very well aware that PDF.ocx is not supported by Acrobat but
nonetheless the management has decided to use that. I am just trying my
best
to write working apps.

Excuse my long-windedness, and hope to hear answers from you. Thanks!!

JIA
EllieMae.com

To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html 




IMPORTANT -

This email and any attachments are confidential and may be privileged in which case 
neither is intended to be waived. If you have received this message in error, please 
notify us and remove it from your system. It is your responsibility to check any 
attachments for viruses and defects before opening or sending them on. Where 
applicable, liability is limited by the Solicitors Scheme approved under the 
Professional Standards Act 1994 (NSW). Minter Ellison collects personal information to 
provide and market our services. For more information about use, disclosure and 
access, see our privacy policy at www.minterellison.com.


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to