Please, I want to thanks by the help you gave me about using security methods!
Now I have one more stone to jump;
I use the method on the fly in PB9 like that:
i_ole_pdf.FileNameOptions = 1 + 2 + 256
i_ole_pdf.OwnerPassword = '12345'
i_ole_pdf.UserPassword = ''
i_ole_pdf.Permissions = -64 + 4
i_ole_pdf.SetDefaultConfig()
and this do the job!!
When I try to put the same code in PB8 do not work like PowerBuilder9, it create a document totally protected but without password, when you remove security from the document, do not ask any pass and do the job!!
Can you help me one more tyme?? thnks
Security PB9 is ok but PB8 do not work
Re: Security PB9 is ok but PB8 do not work
If you specify only an owner password without a user password it is normal for the pdf file to open without asking for a password but the file would be encrypted.
This should be the same whether you are generating the PDF file from PB9 or PB8. I don't see what the version of PB will affect the generated pdf file.
This should be the same whether you are generating the PDF file from PB9 or PB8. I don't see what the version of PB will affect the generated pdf file.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html
Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark