'******************************************************************
'  PrintFaqtory's Extra Processing DLL.
'  Modify this code as required.
'
'  Before running this DLL project in the VB IDE,
'  ensure that the PrintFaqtory application and the PrintProcess
'  processor are not running. It may be necessary to stop the PrintProcess
'  processor ('PrintProcess.exe') with the Task Manager.
'
'  When PrintFaqtory has finished a particular task, one of the following
'  Subs are called:
'
'      1. ProcessHeader. Parameters (DocumentType As String, DocumentNo As Long)
'          The Header processing is complete for this DocumentType.
'
'      2. ProcessLine. Parameters (DocumentType As String, DocumentNo As Long)
'          The Line Items processing is complete for this DocumentType.
'
'      3. ProcessDocument. Parameters (DocumentType As String, DocumentNo As Long)
'          All processing (Headers & Line Items) for this DocumentType is complete.
'
'  If the DocumentType can't be found then GetDocumentTypeNotFound is called with
'  all the print data as a parameter. After processing in this module, the
'  PrintProcessor is re-called with the new processed data.
'  This Sub allows for an 'else' condition for when all else fails.
'
'*******************************************************************

Visual Basic Extensions DLL.


PrintFaqtory includes the source code for a Visual Basic DLL that allows for integrating PrintFaqtory with any existing application/database and full processing/calculations of report data.

Although this may seem to be an unusual way to add functionality, it is without doubt the most applicable for the requirements of this type of application. PrintFaqtory is not a ‘Consumer’ product and is meant to be a Swiss army knife report tool in a professionals toolbox. It is assumed that anyone contemplating a complex PrintFaqtory installation will have (or have access to) the very simple VB skills required to modify this DLL. An additional advantage of this configuration is the KISS factor (Keep It Simple Stupid). PrintFaqtory gets to use the worlds widest installed base development/debugging environment as opposed to developing a lesser alternative with a horrendous cost increase for a limited-market application like PrintFaqtory. If required, we can code your requirements for you from only US$50. Click here for details.

The DLL runs completely ‘Out of Process’ and control is immediately passed back to PrintFaqtory on calling any method in the DLL. No matter how long the user defined code takes to run, it will have no impact on the main PrintFaqtory application (other than stealing CPU time). This completely mitigates any potential ‘speed’ problems associated with using Visual Basic for the DLL’s programming language as opposed to using a lower level language such as C.

Below is the Module Description from the main module describing the methods contained in the DLL.

(C) 2003 John Burch Read our Privacy Policy