Simply Postcode Lookup                     Phone: 01945 464854 

   Log In       
Postcode Address Lookup Software
 

  Programming Postcode Address Search Example Downloads:


Tutorial Video : Programming interfaces & using example code

 

Download Programming Examples     (13Mb)

The Zip file contains many examples of using Simply Postcode Address Lookup, these do not use our Desktop Software, but utilise various programming methods of extracting address data from a postcode. 

Please read the descriptions below, these may help you find the best solution for you.

The most concise and comprehensive example of full functionality of our Postcode Address Lookup Service is the Microsoft Excel sheet, found in the "MS Excel using COM" directory, of the Example download.  This requires the Simply Postcode COM Object to be installed first, so please run “InstallSimplyPostcodeCOM.EXE ” first.

  Postcode Lookup Programming interfaces:


 

         PHP/.NET AJAX Postcode Address Search for Web Sites

This uses PHP4+ or .NET, which is loaded on most web servers, to retrieve address information via AJAX technology.  This has the advantages that you have control over the page style.  Ideal for Web sites which want to make the "checkout" easier with  Postcode Address Lookup to fill in the customers address.

Ideal for reliable, quick and easy Web integration for Checkouts

[Show demo of Full Address]  [Show demo of Street Level Search]

         PHP/Classic ASP/.NET DTHML Postcode Search pop-up window for Web Sites

This uses Classic ASP, PHP4+ or .NET, which is loaded on most web servers, to display a Dynamic HTML Web Pop-up, providing Postcode Address Lookup/Searching functionality.   This type of pop-up is not blocked by Pop-up blockers.  It can be set-up within minutes, and highly customisable.  Ideal for CRM Web sites which require Postcode Address Lookup to fill in the customers address.

Ideal for reliable, quick and easy Web application integration 

[Show me demo]

         .NET and SOAP Web Service for any SOAP compliant language

This data source can be used by any web server or programming language that supports a server-side scripting language that can parse XML data, to provide Postcode Lookup and Nearest Store locator within your Software/Web site.  Simply call the web service with Postcode criteria, and the web service returns address data.

Ideal for .NET, ColdFusion, Perl, PHP, Java integration, plus others.  Language/platform independent

         COM Object for almost any COM Compliant programming language

The COM Object can be used with most modern development environments, to quickly provide Postcode Address Lookup functionality and Nearest Store locator, including: Microsoft Visual C++® (version 7 inclusive), Microsoft Visual Basic®, Borland® C++ BuilderTM, Active Server Pages (ASP) and Borland® DelphiTM. Examples with full source code are included for Microsoft Visual C++®, Microsoft Visual Basic® and ASP.

Ideal for Windows Desktop Bespoke integration

Includes Advanced Address Search functionality 

[More info]

Can be used in local mode [Click here for more information]

         Web HTTP to request XML data for almost any Web language

This data source can be used by any web server or programming language that supports a server-side scripting language that can parse XML data, to provide Postcode Address Lookup and Nearest Store locator within your software/Web site. 

PHP examples can be found in "PHP Core Code" directory which show how to use this HTTP/XML Web Service.

Ideal for integration for non SOAP compliant languages.

Language/platform independent

         Postcode Search Desktop Application to interact with an application

Our Desktop application is designed to work with as many applications as possible, simply install, activate to perform Postcode Address Lookup.   The software then pastes the address information back into your favorite software.

  [Download]

Ideal for quick Windows Desktop integration for common or Bespoke Applications

  Postcode Lookup Programming Examples Included:


HTTP/XML Demo
Classic ASP Page ASP DHTML Web Pop-up
VB6 HTTP/XML Example ASP.NET
Microsoft Access DB .NET DTHML Web Pop-up
COM Object for any compliant language Python
VB.NET SOAP Web Service PHP DTHML Web Popup 
Microsoft Excel PHP Core Code  
Nearest Store Locator JAVA

  Other useful Help:


What is the Web use, Internal use, Full, Thoroughfare and PostZon data mean?

More information on HTTP/XML Service

More information on SOAP Web Service

More information on COM Object

 

  Common functionality:


Common functionality

A feature worth noting is the ability to provide a button for end user to create their own account, but link them to your reseller account.   Thus you get the commission on any sales of Postcode Address Lookup Software.   After creation the customer and reseller gets an e-mail containing the data keys which give access to our address data held on our server.

  Example of allowing a customer to create an account

    URL = "http://www.simplylookupadmin.co.uk/A2CustomerAccount/WebAccountCreateFromReseller.aspx"

    URL = URL & "?r=&id=" & ResellerID

Where

id=                           Reseller ID

?r=I                          Send e-mail with data key for Internal use         

?r=W                       Send e-mail with data key for Web use         

?r=                           Send e-mail with both data keys

These links could be added your own software, web site or newsletter, so users can register their own account, and link you to receive the commission.  The COM object contains a function to call this direct

 

We also offer a "Promotion code" system, which enables you to add a link to our web site.  The customer then uses your "Promotion code", which we give you, to receive discount.  We then give you commission on ALL Postcode Lookup sales.  Including yearly renewals.  Please apply to be a reseller under the "Pricing" menu at top of this page.  [More reseller info]

 

  HTTP/XML Demo (HTTPExample.exe)


A compiled version of “VB6 HTTP/XML Example” can be found in the root of the example download code.   This shows the HTTP requests in action.  You may need to run “InternetClientInstall.EXE” first:

Royal mail Postcode Address Lookup using HTTP request to get XML

Turning on “Show calls in detail to Demonstrate HTTP/XML Datawill show the URLs called and the XML returned by calls HTTP calls.  This should help programmers of other languages understand the HTTP calls and returns data.

PHP examples can be found in "PHP Core Code" directory which show how to use this HTTP/XML Web Service.

  [More Information on HTTP Web Service]

 

  Visual Basic Version 6:


VB6 HTTP/XML Example

This is a VB6 example which uses a class called “SimplyPostcode” to call for postcode data via HTTP/XML call.   To get data from our web site it uses the "Microsoft Internet Transfer Control (MSINET.OCX)" OCX control placed on form “frmInternetAccessForm”.   The sample code first checks that this OCX is installed.  If not it calls “InternetClientInstall.EXE”, which is a simple install routine, provided by us to install this component.   The developer may simply include this OCX as part of their own installation routine, these files are included in the download.

Demonstrates getting Map, Full/Thoroughfare and PostZon data via HTTP/XML Web Service 

You will need to enter your data key, obtained from opening an on-line account with us.  [Create an account]

  [More Information on HTTP Web Service]

 

  Visual Basic Version 6 COM example:


Two examples, under the "COM Object" directory, are given to demonstrate how to use the COM object in VB6.   These examples show Postcode address searching functionality using Full/Thoroughfare and PostZon data.   

These examples are almost identical to the HTTP/XML example but also so include the COM Advanced Address Search functionality. [More info]

Can be used in local mode [Click here for more information]

 

  VB.NET Examples using SOAP Web Service:


VB.NET 2003/2005 Full PAF

This example gets Full Address information, from Postcode search, via our .NET SOAP service

VB.NET 2003/2005 Thoroughfare

This example gets Thoroughfare (street level) Address information, from Postcode search, via our .NET SOAP service

VB.NET 2003/2005 PostZon

This example gets PostZon information via our .NET SOAP service

 

You will need to enter your data key, obtained from opening an on-line account with us.  [Create an account]

 

The 2005 version demo the display map functionality

 

If you want web integration, we strongly recommend you look at the PHP/Classic ASP/.NET Pop-up integration, which will run on most servers.   It is quick and easy to add Postcode lookup to any web page, it uses Dynamic HTML so is not stopped by pop-up blockers.

  [Click here for more PHP DHTML Web Pop-up information]

  [More Information on SOAP Web Service]

 

  .NET DHTML Web Pop-up Example : Full Address:


This example is the most highly recommended Postcode Lookup Search pop-up we do.  If can be found in the "VBNET 2005 Full Address Web Popup" directory of the examples download.   [See Demo]

  [Click here for more .Net Dynamic HTML Web Pop-up information]

 

 

  Classic ASP Example : Thoroughfare/Street Level:


In the "ASP" directory you will find a simply asp example to get a PostZon and Thoroughfare PAF  Address record from postcode.

These DO NOT require any additional components loading on your server

You need to add your own DataKey to the ASP code

You will need to enter your data key, obtained from opening an on-line account with us.  [Create an account]

If you want web integration, we strongly recommend you look at the PHP Pop-up integration, which will run on most servers.   It is quick and easy to add Postcode lookup to any web page, it uses DHTML so is not stopped by pop-up blockers.

  [Click here for more PHP DHTML Web Pop-up information]

  [More information on COM Object]

 

  Classic ASP DHTML Web Pop-up Example : Full Address:


This example is the most highly recommended Postcode Lookup Search pop-up we do.  If can be found in the "ASP Full Address Web Pop-up" directory of the examples download.   [See Demo]

  [Click here for more ASP Dynamic HTML Web Pop-up information]

 

 

  ASP.NET Examples:


The example, in directory "ASP.NET 2005 Address Search", shows how to get Map, Full/Thoroughfare and PostZon data via SOAP Web service using ASP.NET, from Postcode search.

You will need edit the .NET ("default.aspx") to add your data key, obtained from opening an on-line account with us.  [Create an account]

Use "File >> Open >> Web" to open the project.

  [More information on COM Object]

 

  COM Object:


This can be used by any COM Compliant programming language, and gives a very simple programming interface to access the Postcode Address search functionality, provided by the Royal Mail PAF database.  As well as giving direct access to the our data .  The COM Object also contains a pop-up window, which with a few lines of code, allows a developer to add Full Address Postcode Lookup to any application within minutes.  

Please see the Excel Spreadsheet in the "MS Excel using COM" directory of the example code, for a full demo.

Includes Advanced Search functionality [More info]

You will need to enter your data key, obtained from opening an on-line account with us.  [Create an account]

  [More information on COM Object]

  Requires:

"Microsoft Internet Transfer Control (MSINET.OCX)" OCX control

Msvbvm60.dll to be in application directory

mscomctl.ocx to be in application directory

SimplyPostCodeLookup.dll

An installation routine is included, called “InstallSimplyPostcodeCOM.EXE” to install any of these missing components.   But these above files can be included in your own installation routine.   All individual files are supplied.

This COM object allows access to Map, Full/Thoroughfare and PostZon data via HTTP/XML Web Service, from Postcode search.

 

  Microsoft Access Postcode Address Search Example


A simply example is contained in "MS Access 2000 onwards" directory which uses the COM object to search for an address using Postcode Lookup.

You will need to enter your data key, obtained from opening an on-line account with us.  [Create an account]

It demonstrates how to access to get a Map, Full/Thoroughfare and PostZon address data via Microsoft Access, given a Postcode to search for.

This also Includes Advanced Address Search functionality [More info]

  [More information on COM Object]

[What is Full, Thoroughfare and PostZon Data?]

 

  Microsoft Excel Postcode Address Search Example


A simply example is contained in "MS Excel using COM" directory which uses the COM object to search for an address using Postcode Lookup.   

It demonstrates how to access to get a Map, Full/Thoroughfare and PostZon address information via Microsoft Access, for a given Postcode or Address words to search for.

Includes Advanced Address Search functionality [More info]

You will need to enter your data key, obtained from opening an on-line account with us.  [Create an account]

  [More information on COM Object]

[What is Full, Thoroughfare and PostZon Data?]

 

  Python Examples:


The example, in directory "Python", shows how to get Thoroughfare PAF address data record HTTP request and then parse the resulting XML response, contains the Address information searched for.  

This Python example first asks for the Postcode to search for.  It then displays the address fields found in the PAF address record.

Please edit the code to add your own data key, obtained from opening an account with us.  [Create an account]

  [More Information on HTTP Web Service]

 

  JAVA Examples:


The example, in directory "JAVA", shows how to get Thoroughfare PAF address data record HTTP request and then parse the resulting XML response, for the Address information.   

Please edit the code to add your own data key, obtained from opening an account with us.  [Create an account]

This JAVA example first asks for the Postcode to search for.  It then displays the address fields found in the PAF address record.

  [More Information on HTTP Web Service]

 

  PHP DHTML Web Pop-up Example : Full Address:


This example is the most highly recommended Postcode Address Lookup Search pop-up we do.  If can be found in the "PHP Full Address Pop-up" directory of the examples download.   [See Demo]

  [Click here for more PHP DHTML Web Pop-up information]

 

  PHP Example : Thoroughfare, Full and PostZon PAF address


The example, in directory "PHP Core Code", shows how to get Thoroughfare, Full and PostZon PAF address data record HTTP request and then parse the XML response for Address records found for given Postcode.  

Simply open "SimplyPostcode.html", enter a postcode and press the button.  This will then call the PHP page to call our HTTP Web Service, to extract the address record from the PAF database.

Please edit the code to add your own data key, obtained from opening an account with us.  [Create an account]

  [More Information on HTTP Web Service]

 

  Nearest Store Locator


We offer two levels of Nearest Store Location.   In the "Nearest Store Functionality" is the source code to give a store locator web page.

[Click here for live Web Demo]

The Microsoft Access demo also shows how to do this functionality with the COM Object, and applied to your own database.

[Click here for more information]

 

 

Please note: Our terms and conditions state: "The Customer, when using the Postcode Lookup service via Web Service, must make sure each user is identified by a unique Computer name, in each call to the Web Service."   In simple language this means that each user must be identified by a unique computer name.  

The Dynamic HTML Web Pop-up's and COM Objects, automatically include this functionality, else simply provide MACHINE name, when performing a Postcode Lookup.

 

 

Postcode Lookup Software © ComTek Accounts 2005

Internet Postcode Address Lookup Software

 

PAF Postcode Address Lookup Software for Web Sites

PAF Postcode Address Lookup Software using .NET and SOAP Services

COM Object for PAF Postcode Address Lookup Software

PAF Postcode Address Lookup Software Desktop Application Manual

PAF Postcode Address Lookup using HTTP to request XML data

PAF Postcode Address Lookup Software Troubleshooting

PAF Postcode Address Lookup Software WEB Troubleshooting

Terms and Conditions

Home Page

 
  • Competitive pricing
  • No set-up Charges
  • Over 99.9% Availability
  • Always up to date
  • Free Trial software
  • Free Technical Support
  • No hidden extra charges
  • Instant Access
  • Programming Examples
  • Local or Internet Data
 
Simply Postcode Lookup Software Award