Theos PowerBasic Museum 2017

Archive => Archived Posts => Topic started by: Petr Schreiber on November 03, 2008, 04:47:22 PM

Title: Re: WebBrowser Control: Embedding Acrobat Reader
Post by: Petr Schreiber on November 03, 2008, 04:47:22 PM
Hi José,

this is another fantastic example.
Just one problem - when I close program, AcroRd32.exe program still hangs in memory.
Is there any reason for this behavior? Of course, I can shoot the process programatically, but I though the ocx could do this job for me.


Petr
Title: Re: WebBrowser Control: Embedding Acrobat Reader
Post by: José Roca on November 03, 2008, 05:06:56 PM
 
This is by design of Acrobat. It remains in memory in case you want to open further documents later on. It unloads itself after a long while.
Title: Re: WebBrowser Control: Embedding Acrobat Reader
Post by: Edwin Knoppert on November 03, 2008, 05:42:50 PM
And what if i setup ab to show pdf's outside the browser?
Title: Re: WebBrowser Control: Embedding Acrobat Reader
Post by: Petr Schreiber on November 03, 2008, 07:32:41 PM
Hi José,

my problem with this behavior is that if application is launched from USB flashdisk, it cannot be unmounted until AcroRd32.exe is terminated.
Not sure if it is the same for CD/DVD ( I would like to have application with built in PDF launched from CD/DVD ).


Petr
Title: Re: WebBrowser Control: Embedding Acrobat Reader
Post by: José Roca on November 03, 2008, 08:40:56 PM
 
There is nothing we can do about it. It is Acrobat Reader behavior when it is embeded.
Title: Re: WebBrowser Control: Embedding Acrobat Reader
Post by: Paul Squires on November 03, 2008, 09:59:43 PM
I haven't tried it (yet) but maybe the SDK from Foxit could be useful to you for displaying PDF's, etc.

http://www.foxitsoftware.com/pdf/sdk/dll/

Title: Re: WebBrowser Control: Embedding Acrobat Reader
Post by: Petr Schreiber on November 04, 2008, 04:07:57 PM
Thank you very much,

I will check out FoxIt.


Petr