I am trying to evaluate yourusing 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: .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?
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,
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,
public partial class Form1 : Form
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,