OpenEx locks, Open crashes

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
aroncox
Posts: 39
Joined: Fri May 15 2009

OpenEx locks, Open crashes

Post by aroncox »

I have a PowerBuilder application that has the PDF Creator ActiveX control on a window to show previews of selected PDF files, kinda like a thumbnail. I aslo use the same control on a larger window to properly display the PDF.

If I open the PDF using OpenEx it is locked until I close the window. If I open the PDF with Open, my application will crash if the PDF file is large.

So, my questions are:

* Is there a way to close the PDF after calling OpenEx, so I can unlock the file while the window is still open?
* Is there a way to reset the control so it is no longer locking the PDF, similar to above?
* Is there a way to just display the first page in a PDF?

Thanks :)
aroncox
Posts: 39
Joined: Fri May 15 2009

Re: OpenEx locks, Open crashes

Post by aroncox »

Ahah, I see InitBlank will reset the control

I will test that tomorrow, perhaps I can reset the control, move the file, and then re-open it from the new location.
aroncox
Posts: 39
Joined: Fri May 15 2009

Re: OpenEx locks, Open crashes

Post by aroncox »

Yep that did it for me - no idea why I didn't spot InitBlank earlier!
Post Reply