Using an ActiveX object as INVOICES' event server

It can be convenient to use an external event server object to handle all of the INVOICES events. You get the advantages of third-party tools such as Microsoft Visual Basic or Borland’s Delphi, which offer features like advanced window and dialog handling, database support, advanced programming language capabilities, and debugging in a truly integrated development environment. A more efficient way is to register the event server as a plug-in, and subscribe to the necessary events.

To use an external event server:

  1. Program an ActiveX automation server object. Example

  2. Register it within Windows. Example

  3. Set up an event handler in INVOICES that creates the object and sets it as the active event server object. Example

Four types of event handlers