The APGen COM component can be used to run APG scripts from custom software. Three lines of Visual Basic code are sufficient to execute an APG script. APG scripts can handle events fired by COM components. Access ASP objects in APG scripts. Handling Developers can specify what happens when an error occurs in an APG script, using error events and custom error handlers.
Error handlers can prevent overwriting the previous output document.
This way, users will never see a document containing an error. Developers can specify logging behavior and where log files are placed. Entries can be written to the Windows NT Event Log. ASP Conversion - Converts a directory of ASP files to an equivalent directory of APG scripts. Site Automation - Shows how to use APGen for templating, generating navigation HTML, and content management.