This directory contains an Active Server Pages script that provides a Web-based client interface to the Dylan Bank Server in a Web context. The script is written in VBScript and demonstrates the use of the dispatch interface facet of the Bank's dual interface to provide interoperability with Visual Basic. See the Dylan Client for a use of the customer interface facet of the Bank's dual interface. See the ASP-View example for an example of Dylan interoperability with Active Server Pages.
In order to use this example, you must have a Web server that supports Active Server Pages, such as described Windows NT Internet Information Server (IIS), or a Microsoft personal Web server. Make sure to install the Active Server Pages component of the Web server by downloading any additional Setup programs needed.
Once you have a Web server installed, copy the file vb-bank-client.asp from this directory to a directory used by the server (e.g. to c:\inetpub\wwwroot or c:\wwwroot\).
In order to use this example, you must install the Bank Server as described in its README file. Note that if your Web server is on a different machine than the Bank Server project, you must copy the release directory to the Web server's machine and register it there, since this is a server-side component.
To test out the component, use any browser to connect to your Web server,
and ask it to load the vb-bank-client.asp file. E.g. if you installed
vb-bank-client.asp in the server's top-level wwwroot
directory, and the browser is running on the same host as the server, the url
would look like this:
http://localserver/vb-bank-client.asp
The resulting page will give you the option of retrieving information about an existing account or opening a new account. Once you have retrieved or opened some accounts, you can debit or credit them. The commands you give in your Web browser are transmitted to the Bank Server located on the server machine, which then in turn updates the master database.