Good Morning All,
Please can somebody help.
We are using Amyuni PDF Converter and all is well.
There is a function described as follows:-
Encrypt(OwnerPassword As String, UserPassword As String, Permissions As Long) as Boolean.
The documentation example says to call it as Encrypt("owner","user",&HFFFFFFC0).
I call it using 2 text fields and the 3 parameter I put the string '&HFFFFFFC0' into a variant variable.
This works apart from when the PDF opens (having entered a password) I can't print it.
The documentations says to enable printing use &HFFFFFFC0 + 4.
My question is how to get &HFFFFFFC0 + 4 passed across? I've tried allsorts but no luck and getting quite urgent.
Many Thanks
Rob
0
Comments
&HFFFFFFC0 = -64
Therefore I pass -64+4 and it allows me to print.
Hurrah!
Happy Easter!!!
RIS Plus, LLC
If it helps other people it's good to share!
RIS Plus, LLC