I get the expected error, File Not Found: pdfprintsdk.dll

I am trying to evaluate your pdfprintsdk using Visual Basic 6. I have downloaded the trial package (sdk) but I cannot find any instructions about how to install the required files or what DLLs to register, or whatever I need to do. When I run the demo VB program VB/project1.vbs I get the expected error, File Not Found: pdfprintsdk.dll.

I tried registering (regsvr32) the pdfprintsdk.dll in System32 but get an error message.

How do I resolve this so that I can evaluate your software?
Customer
--------------------------------------------
Thanks for your message, you need register pdfprintcom.exe instead of pdfprintsdk.dll, you can run a CMD window with administrator privilege, and run following command line to register it,

pdfprintcom.exe /regserver

shareshot_2019-01-08_09-52-52

after you register pdfprintcom.exe successful, you can add a reference to "pdfprintcom" COM from VB.NET or C# or VB IDE environment, then you can use following sample source code to call the "pdfprintcom" COM to print PDF files,

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using pdfprintcom;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            pdfprintcom.pdfprint pdfPrintObj = new pdfprintcom.pdfprint();
            pdfPrintObj.com_PDFPrint("pdfprint -printer \"docPrint\" D:\\temp\\5.pdf");
        }
    }
}

>>When I run the demo VB program VB/project1.vbs I get the expected error, File Not Found: pdfprintsdk.dll.

For this problem, you can compile the VB project to an EXE file first, place this EXE to the "bin" folder, the "bin" folder has following files, your EXE and these files must be placed to same folder, then your VB EXE will able to load pdfprintsdk.dll properly,

cimage.dll
GdiPlus.dll
pdfprintsdk.dll
wget.dll
xpssdk.dll
Resource\*.*
encoding\*.*

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!