I'm using PB2021 Build 1509.
I wish to view PDF files in a window (does not necessarily need to be a datawindow).
Can anyone provide me sample code for me to look at?
I have had limited success using an ole object inserting "Adobe Acrobat Browser Control" and also "Adobe Acrobat Reader". Either works using the ole_1.loadfile() method. Can someone explain the difference between these two? Is there another 3rd-party control recommended?
However, I always get a banner "This file claims compliance with the PDF/A standard and has been opened read-only to prevent modification". I cannot find any way to suppress this banner. Googling it says: Under Edit - Preferences - Documents, change the "View documents in PDF/A mode" to "Never". How do I implement this suggestion?
TIA
Thanks. I did know that but I was hoping to programmatically override that setting without involving the user or having him change his preferred settings.
You should never ever change any settings of any user in any third party application. The security might be imposed by their company, or it's just because the user wants to have those settings. Anything you change will probably also affect other applications.
regards.