Problem in create encrypted pdf file through VB6 code
Hi Friends,
I am using dll "encryptpdf.dll" for creating encrypted pdf file for that I am using
Code:
Private Declare Function veryEncryptPDF Lib "encryptpdf.dll" (ByVal inFileName As String, ByVal outFileName As String, ByVal EnctyptLen As Long, ByVal permission As Long, ByVal OwnerPassword As String, ByVal UserPassword As String) As Long
Private Function EncryptFile(ByVal mPdf As String, ByVal TargetPdf As String, User As String, Owner As String) As Long
EncryptFile = veryEncryptPDF(mPdf, TargetPdf, 128, 4, User, Owner)
End Function
File is encrypted very well if source pdf contain only single page. If there is more then one page in source file then output file contain only one page rest pages are missing from out put file
Re: Problem in create encrypted pdf file through VB6 code
Welcome to the forums. :wave:
Where did you get this dll?
Re: Problem in create encrypted pdf file through VB6 code
I found encryptpdf.dll from VeryPDF.com
Please provide me solution if possible how I can encrypt all pages