• Welcome to Theos PowerBasic Museum 2017.

Re: WebBrowser Control: Embedding Acrobat Reader

Started by Petr Schreiber, November 03, 2008, 04:47:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Petr Schreiber

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
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

José Roca

 
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.

Edwin Knoppert

And what if i setup ab to show pdf's outside the browser?

Petr Schreiber

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
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

José Roca

 
There is nothing we can do about it. It is Acrobat Reader behavior when it is embeded.

Paul Squires

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/

Paul Squires
FireFly Visual Designer SQLitening Database System JellyFish Pro Editor
http://www.planetsquires.com

Petr Schreiber

Thank you very much,

I will check out FoxIt.


Petr
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com