Contact eSortcode.com on +44 (0)845 094 2633  
 
Windows COM Object

Getting Started with Windows COM

eSortcodeCOM.tlb is a COM component that makes it easy for developers to integrate the eSortcode.BankDetails web service into VB6, VBA, C++ and other COM based development platforms.

To get you started, we suggest you download the Set-Up file from below:

COM Component Download
eSortcodeCom Set-Up zip file download

Once you have downloaded and unzipped the package to a folder dbl-click the eSortcodeCOMSetUp.msi file to run the set-up and you will see the screen below:


Press Next

Install to the default path and select 'Everyone' if you want all users to be able to use eSortcodeCOM.
Press Next, Next , and Close.

The eSortcodeCOM component is now installed and registered on your machine.

Referencing the eSortcodeCOM control in a VB6 Application

If you want to use early-binding and make full use of the IntelliSense features you will need to reference the Component in your application.

Open up the project in which you want to use the control. Click Tools then References.
You should be able to scroll the list and add the reference to eSortcodeCOM as shown below:

Press OK. The control is now referenced in your project.

Writing the code to use eSortcodeCOM

In this example we are using the BranchDetails method of the eSortcode.BankDetails web service to return the Branch Details for a Sorting Code.

At the point in your code where you want to return the Branch Details put in the following code. For this example the code is inside the Click Event of a Button control as follows:

Early-Bound Example

Late-Bound Example



If you have not already signed-up for an account click here Sign-Up Now.
You will receive your Access Codes by email and you will receive 50 free credits.

When you have your Access Codes ready, you will need to do the following to get the code above to work:

Change the XXXXXXXX value to be your eSortcode AccountName.
Change the XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX value to be your eSortcode GUID.

It's that simple.

The other methods of the eSortcode Web Service can be used in a similar way.

For a full technical description of the eSortcode web service and the 5 methods click on the following link Web Service Described.

If you have any questions feel free to contact us at the following link Contact Us.