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
OpenEx locks, Open crashes
Re: OpenEx locks, Open crashes
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.
I will test that tomorrow, perhaps I can reset the control, move the file, and then re-open it from the new location.
Re: OpenEx locks, Open crashes
Yep that did it for me - no idea why I didn't spot InitBlank earlier!