Programming With Generator for COM/ActiveX

The ProgID of the Document object is "DynamicPDF.Document". The name of the Type Library is "DynamicPDF v4.0.0 Type Library".

NOTE: In versions prior to v3.0 of this product the ProgID for the Document Object was "DPDF_Gen.Document".

ASP Pages

There is no need to make a reference to the library from your ASP pages. You can create a Document object by using it's ProgID.

    Dim MyDocument
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )

WScript or CScript (VBScript) Applications

There is no need to make a reference to the library from your script files. You can create a Document object by using it's ProgID.

    Dim MyDocument
    Set MyDocument = WScript.CreateObject( "DynamicPDF.Document" )

Visual Basic Applications

Make a reference to the "DynamicPDF v4.0.0 Type Library" library using the Project -> References... menu item. You will then be able to use the classes from the DynamicPDF Type Library.

    Dim MyDocument As DynamicPDF.Document
    Set MyDocument = New DynamicPDF.Document

See Also 

Programming With Generator for COM/ActiveX