Prakash Paul
Jun 7th, 2008, 04:57 AM
Hi Friends,
I am using dll "encryptpdf.dll" for creating encrypted pdf file for that I am using
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
I am using dll "encryptpdf.dll" for creating encrypted pdf file for that I am using
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