Results 1 to 3 of 3

Thread: Problem in create encrypted pdf file through VB6 code

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    7

    Smile 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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Problem in create encrypted pdf file through VB6 code

    Welcome to the forums.

    Where did you get this dll?

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2006
    Posts
    7

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width