Aspect Conversion
This project is to convert an existing Procomm Plus Aspect script application to VB6 or other easily compiled stand-alone code. The existing script is less than 2,000 lines of code and has been attached as three separate files (the *.was and *.inc files) which can be easily read with any text editor. In addition, a flow chart has been attached to show the application logic and how the three files relate.
The script drives a terminal emulation program (Procomm Plus) to emulate a user interacting with a remote server via a modem connection. Arguments are passed to this script from an Access/VB6 application and the results of the script is the download and storage of a *.txt file for subsequent processing by the Access/VB6 application.
The scripts use very basic modem control commands to dial up a remote server’s modem. Once connected, the script does nothing more than respond to prompts from the remote server. The script walks through a series of prompts that ultimately direct the remote system to send system configuration information that is then written to local text files.
As the flow chart shows, the script is divided up into three pieces: ALIPro.was, SWAccess.inc, DLNortel.inc. ALIPro.was simply assigns variables to the calling application’s arguments and sets up Procomm Plus to transmit and receive data via a modem. The SwAccess.inc code is designed specifically to log into a Nortel PBX (the remote server) via various security or access appliances (some of which have not been used in years). The DLNortel.inc (Download Nortel) code is written specifically to download configuration information about various services provided by the PBX. Each of these downloads are accessed via various program calls within the PBX called Loads; hence LD 20, LD 21, LD 23. Each of these Loads prompts the user (this application) with a specific pneumonic to which the user must respond. This dialog continues to the point when the script opens a local capture file. The next response sent to the PBX results in a stream of configuration information that is then written (or




