How do I enter serial and developer codes into my application?
Question
How do I enter serial and developer codes into my application?
Answer
Serial and developer codes must be included within application code, and prior to compiling, in order to deactivate the demo watermarks that otherwise feature on output. The following excerpt of is from the VB example (VbExCOM; MainFrm.frm, pg 4) included in the Drivers API SDK installation files:
Private Sub InitSaverObj()
Set PDFPrinter = PDFPFactory.Printer("", "PDF-XChange 4.0 Sample", "<YOUR REG CODE>", "<YOUR DEV CODE>")
***
When codes have been entered it will appear as below:
Set PDFPrinter = PDFPFactory.Printer("", "PDF-XChange 4.0 Sample", "PDS40-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX", "PDFX3$111XXXX111*")
***
pname = PDFPrinter.Name
PDFPrinter.SetAsDefaultPrinter
End Sub
Public Sub Form_Load()
InitSaverObj
TypeOption(1).Value = True
End Sub
Compile and run your application after these codes have been added to the source code. Watermarks should no longer appear.
More Like This
-
KB#227: I have an issue using the PDF-XChange SDK sample code with Microsoft Visual Basic in 'Interactive Mode' for debugging.
-
KB#456: How do ICustomize toolbars in the Editor
-
KB#265: Why aren't all orphaned printers removed in my PDF-XChange SDK-developed application?
-
KB#282: Why won't the "Send by E-mail" feature work in conjunction with Microsoft Outlook?
-
KB#338: What are the MSI installation switch options for the PDF-XChange family of products?