Home > Products Windows > PDF Password Remover

PDF Password Remover

VeryPDF

PDF Password Remover

  • Remove PDF open and permission passwords.
  • Remove PDF permission restrictions.
  • Easy to operate and fast to process.
Download Buy Now
Version 6.0
$29.90

VeryPDF PDF Password Remover provides two versions: the standard version named VeryPDF PDF Password Remover which contains a GUI application as well as a command line application; and the Pro version named VeryPDF PDF Password Remover COM which is designed for developer users. This page aims at showing you how to use the COM version.

VeryPDF PDF Password Remover COM is specially designed for software programmer to quickly add a PDF password remover utility to your application.

A sample program is provided below to illustrate proper usage of VeryPDF PDF Password Remover COM. Removing PDF password is as simple as filling out a few properties.

System preference

Operating Systems: all Windows platforms, like Windows 2000, XP, Vista, 7, 8,Windows Server 2003, 2008, 2008 R2 – 32 and 64 Bit and so on.

Programming Languages

The following programming languages are supported:C#, VB .NET, MS Visual Basic, Borland Delphi, VBA (MS Office products such as Access) and C++ via COM, C and C++ via native C.

Sample: Visual C++

#include <stdio.h>

#include <Windows.h>

#include <string.h>

#include <stdlib.h>

#include <time.h>

#include <windowsx.h>

__declspec(dllexport)

long WINAPI veryDecryptPDF(const char * inFileName, const char *outFileName, const char *OwnerPassword, const char *UserPassword);

__declspec(dllexport)

BOOL WINAPI veryIsPDFEncrypted(const char * inFileName);

 

void GetModulePath(char *out_path,char *in_name)

{

    char *p;

    GetModuleFileName(NULL,out_path,256);

    p =strrchr(out_path,'\\');

    p[1]=0;

    strcat(out_path,in_name);

}

 

void main()

{

    char srcpath[_MAX_PATH]

    char despath[_MAX_PATH];>

 

    memset(srcpath,0,_MAX_PATH);

    memset(despath,0,_MAX_PATH);

 

    //example 1

    GetModulePath(srcpath,"test1.pdf");

    GetModulePath(despath,"test1Decrypt.pdf");

    if(veryIsPDFEncrypted(srcpath))

        veryDecryptPDF(srcpath,despath,"owner","user");

 

    //example 2

    GetModulePath(srcpath,"test2.pdf");

    GetModulePath(despath,"test2Decrypt.pdf");

    if(veryIsPDFEncrypted(srcpath))

        veryDecryptPDF(srcpath,despath,"owner","user");

}

Sample: Visual Basic

Private Sub Command1_Click()

    Dim result

    result = veryIsPDFEncrypted("test1.pdf")

    If result = 1 Then

        result = veryDecryptPDF("test1.pdf", "test1Decrypt.pdf", "owner", "user")

    End If

    result = veryIsPDFEncrypted("test2.pdf")

    If result = 1 Then

        result = veryDecryptPDF("test2.pdf", "test2Decrypt.pdf", "owner", "user")

    End If

End Sub

Sample: ASP

<%

dim oTest

dim ret

Set oTest = Server.CreateObject("DecryptPDFOCX.CDecryptPDF")

Response.write "Create Object Success!"

    ret = oTest.veryIsPDFEncryptedEx("C:\wwwhome\test1.pdf")

    if ret = 1 then

        ret = oTest.veryDecryptPDFEx("C:\wwwhome\test1.pdf",

"C:\wwwhome\test1_Decrypted.pdf","owner","user")

        if ret = 0 then

            Response.write "Decrypt PDF file Failer!"

        else

            Response.write "Decrypt PDF file Success!"

        end if

    end if

%>

If you want to download or purchase this COM version, please enter Try and Buy page.

Features of VeryPDF Password Remover COM

  • Support all features of VeryPDF Password Remover except owning a user interface.
  • Allow developer companies to integrate the program into their products.
  • Available via COM objects or DLL Libraries or Command Lines.
  • Enable developers to access the converter via any programming or scripting languages.
  • Support Visual Basic, C/C++, Delphi, ASP, PHP, C#, and .NET.

Video Tutorial

Related Links

Knowledge Base

Relative Products

Gold Support 30-DAY NO RISK REFUND
 
  Learn more about
PDF Password Remover
  See other products   Download   Buy Now
 
 
                   
 You may like these products
VeryPDF PDFcamp Printer Pro
VeryPDF PDFcamp Printer Pro

$38.00

Convert files of Microsoft Word, PowerPoint, Excel, JPG, PNG, GIF, and HTML to PDF. Create PDF from printable documents.
VeryPDF PDF Editor
VeryPDF PDF Editor

$89.95

Create PDF, annotate PDF, fill PDF forms, edit PDF contents and hyperlinks, and convert PDF to image. It is a cost-effective PDF editor.
VeryPDF PDF to Word OCR Converter
VeryPDF PDF to Word OCR Converter

$59.95

Recognize characters in scanned image PDF and save as Word. It supports batch process that can convert multiple PDF files with one click.