using Adobe pdf ActiveX control

  • Follow


I am using the Adobe ActiveX control inside a Windows form. After I start
the app, I start Acrobat and close it. Now the ActiveX control inside my app
is gone!!! I tried the same scenario with internet browser. Start IE, start
Acrobat, and kill the Acrobat. The pdf contents within IE is gone! But after
I click refresh on IE, it comes back. It looks like it reloads Acrobat since
I see the startup flash screen.

It seems to me that the Adobe ActiveX control is an exe control. I did see
the process in task manager. After I close Acrobat, it is gone. Therefore,
my app won't have anything inside.

Question: I use Adobe ActiveX control through interop wrapper in C#. Even
within C++ or VB, how are you going to tell the ActiveX control is gone? How
can you "restart" the control just like the refresh function in IE does?
Thanks very very much for your help.



0
Reply Pete 10/30/2003 4:38:28 PM

"Pete" <pete@nospam.com> wrote:

>I am using the Adobe ActiveX control inside a Windows form. After I start
>the app, I start Acrobat and close it. 

Yes, of course. It is Acrobat that does the work. PDF.OCX is just an
interface to Acrobat.

By the way, it isn't intended or supported as a developer tool. The
Acrobat SDK has 10,000 pages or so of supported interfaces (about 20
pages for Acrobat Reader).
----------------------------------------
Aandi Inston  quite@dial.pipex.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.

0
Reply quite 10/30/2003 5:06:34 PM


While it is true that using PDF.OCX in an app is not supported, Pete also
stated:

> I tried the same scenario with internet browser. Start IE, start
> Acrobat, and kill the Acrobat. The pdf contents within IE is gone! But
after
> I click refresh on IE, it comes back. It looks like it reloads Acrobat
since
> I see the startup flash screen.

Viewing PDF's in IE is supported and the problem occurs there as well.
Adobe recognized this problem and attempted to fix it in Reader 6.
Unfortunately the fix was to display a warning to the user indicating that
closing Reader will cause problems for the PDF that is open in IE.  I don't
consider this to be a fix, just a Bandaid.  We have also had that warning
show up at times when it should not have.

"Aandi Inston" <quite@dial.pipex.con> wrote in message
news:3fa144cd.616805429@reading.news.pipex.net...
> "Pete" <pete@nospam.com> wrote:
>
> >I am using the Adobe ActiveX control inside a Windows form. After I start
> >the app, I start Acrobat and close it.
>
> Yes, of course. It is Acrobat that does the work. PDF.OCX is just an
> interface to Acrobat.
>
> By the way, it isn't intended or supported as a developer tool. The
> Acrobat SDK has 10,000 pages or so of supported interfaces (about 20
> pages for Acrobat Reader).
> ----------------------------------------
> Aandi Inston  quite@dial.pipex.com http://www.quite.com
> Please support usenet! Post replies and follow-ups, don't e-mail them.
>


0
Reply Brian 10/30/2003 6:39:25 PM

2 Replies
499 Views

(page loaded in 0.069 seconds)

Similiar Articles:













7/20/2012 8:59:21 AM


Reply: