Simply Postcode Software Download Example Code

The Zip file contains many examples of using Simply Postcode Address Lookup in various programming languages/API's for retrieving address data from our address database.

Download Programming Examples (13Mb)

see below for list of examples

Simply copy from our examples and paste into your projects to get a head start.

Postcode Finder Programming Examples:

For Web Sites

Example Directory Language API Used Description
AJAX/AJAX ASP Full Address ASP HTTP/XML AJAX Full Address example
AJAX/AJAX ASP Full Address 2 Addresses ASP HTTP/XML AJAX Full Address example with 2 address box on same page
AJAX/AJAX ASP NET Full Address ASP.NET HTTP/XML AJAX Full Address example
AJAX/AJAX ASP NET Full Address 2 Addresses ASP.NET HTTP/XML AJAX Full Address example with 2 address box on same page
AJAX/AJAX ASP NET Full Address 2 Addresses C# C# HTTP/XML AJAX Full Address example
AJAX/AJAX ASP NET Full Address C# C# HTTP/XML AJAX Full Address example with 2 address box on same page
AJAX/AJAX ASP NET Thoroughfare ASP.NET HTTP/XML AJAX Thoroughfare/Street Address example
AJAX/AJAX ASP NET Thoroughfare 2 Addresses ASP.NET HTTP/XML AJAX Thoroughfare/Street Address example with 2 address box on same page
AJAX/AJAX ASP NET Thoroughfare 2 Addresses C# C# HTTP/XML AJAX Thoroughfare/Street Address example with 2 address box on same page
AJAX/AJAX ASP NET Thoroughfare C# C# HTTP/XML AJAX Thoroughfare/Street Address example
AJAX/AJAX ASP Thoroughfare ASP HTTP/XML AJAX Thoroughfare/Street Address example
AJAX/AJAX ASP Thoroughfare 2 Addresses ASP HTTP/XML AJAX Thoroughfare/Street Address example with 2 address box on same page
AJAX/AJAX PHP Full Address PHP HTTP/XML AJAX Full Address example
AJAX/AJAX PHP Full Address 2 Addresses PHP HTTP/XML AJAX Full Address example with 2 address box on same page
AJAX/AJAX PHP Thoroughfare PHP HTTP/XML AJAX Thoroughfare/Street Address example
AJAX/AJAX PHP Thoroughfare 2 Addresses PHP HTTP/XML AJAX Thoroughfare/Street Address example with 2 address box on same page
The above examples are best for web site checkouts, as they use AJAX to have low impact into the site design.
See examples: Full Address or UK Street Address Finder
ASP ASP HTTP/XML How to get PostZon and Thoroughfare/Street data using HTTP/XML Web Service
In the "ASP" directory you will find a simply asp example to get a PostZon and Thoroughfare PAF Address record from our postcode server.

These DO NOT require any additional components loading on your server
ASP.c sharpe 2008 Address Search C#.NET SOAP How to get FULL, Thoroughfare/Street and PostZon Data
ASP.NET 2008 Address Search VB.NET SOAP How to get FULL, Thoroughfare/Street and PostZon Data
The above SOAP examples show how to get the data from our Web Server using SOAP calls.
More information on SOAP Postcode Finder Web Service
PHP core code/Full Address core code PHP HTTP/XML Get Full using HTTP/XML Web Service
PHP core code/PostZon core code PHP HTTP/XML Get PostZon using HTTP/XML Web Service
PHP core code/Thoroughfare core code PHP HTTP/XML Get Thoroughfare/Street using HTTP/XML Web Service
Python Python HTTP/XML Get Thoroughfare/Street using HTTP/XML Web Service
Java Java HTTP/XML Get Thoroughfare/Street using HTTP/XML Web Service
The above HTTP/XML examples show how to get the data from our Web Server using HTTP/XML calls.
More information on Postcode Finder HTTP/XML web service  The example HTTPExample.exe, in the root directory demonstrates the HTTP/XML calls.
Nearest functionality/ASP Nearest Option 2 ASP HTTP/XML Template for implementing Option 2 of Nearest Store Functionality
Nearest functionality/Display map and results .NET 2005 ASP.NET HTTP/XML Template for implementing Option 2 of Nearest Store Functionality with/without map
Nearest functionality/PHP Nearest Option 1 PHP HTTP/XML How to get Long and Lat using PHP
Nearest functionality/PHP Nearest Option 2 PHP HTTP/XML Template for implementing Option 2 of Nearest Store Functionality with/without map
Nearest functionality/PHP Nearest Option 2 with type filter PHP HTTP/XML Template for implementing Option 2 of Nearest Store Functionality, with a type filter with/without map
Web Popup/JQuery PHP Popup PHP JSON Web Popup for full (optionally including Advanced search),street address level using PHP
Web Popup/JQuery NET Popup/VB_NET VB.NET JSON Web Popup for full (optionally including Advanced search),street address level using VB.NET
Web Popup/JQuery NET Popup/C_NET C#.NET JSON Web Popup for full (optionally including Advanced search),street address level using C#.NET
The above examples implement the search popup which are implemented on our home page. For a demo also see:
Click here for UK Postcode Street Finder Sotware demo and integration instructions
Web Popup/OLD Popup/PHP Full Address Web Pop-up PHP HTTP/XML Web Popup for full address using ASP
Web Popup/OLD Popup/VBNET 2005 Full Address Web Popup VB.NET HTTP/XML Web Popup for full address using .NET
Ideal for Web based applications. It is quick and easy to add Postcode lookup to any web page, it uses DHTML so is not stopped by pop-up blockers.   The "Web Popup/JQuery PHP Popup" examples above this section are the preferred method.
Core data, supplied as a text file, is available for large business packages.   These examples show how to read "Data" string into List of Full Address lines for user selections.
see Royal Mail Paf Data File
Core Data\CSHARPE 2010 FULL CORE C#.NET text file  
Core Data\VBNET 2010 FULL CORE VB.NET text file  
 

 

For Desktop Software

Example Directory Language API Used Description
COM Object/
SimplyPostCodeLookupCOMExample.exe
  COM Example program of using COM
COM Object/C++ COM Object c++ COM Using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/COM Object Files   COM All the file need to install the COM Object. These are install by InstallSimplyPostcodeCOM.EXE, but can be included in your own install routine
COM Object/Csharp COM 2008 C# COM Using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/Csharp COM 2010 C# COM Using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/Delphi6 COM Delphi COM  
COM Object/VB6 COM Example VB6 COM Using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/VB6 COM Example Late Binding VB6 COM Using COM for FULL, Thoroughfare/Street and PostZon Data, using Late binding
COM Object/VBNET COM 2008 VB.NET COM Desktop App using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/VBNET COM 2010 VB.NET COM Desktop App using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/MS Access 2000 onwards/
Using COM Object.mdb
VBA COM Example for FULL, Thoroughfare/Street and PostZon Data
COM Object/MS Access 2000 onwards/
Using HTTP_XML Web Service.mdb
VBA HTTP/XML Example for FULL, Thoroughfare/Street and PostZon Data (NO COM Object)
COM Object/MS Excel using COM VBA COM Example for FULL, Thoroughfare/Street, Nearest Store and PostZon Data
Press Alt+F11 to view code
InstallSimplyPostcodeCOM.EXE Install N/A Installs the COM Object
All COM examples require “InstallSimplyPostcodeCOM.EXE” to install COM object first. This is found in the root directory of the Example code download. It must also be run on each of your customers’ machine before they can use the Postcode functionality. 
More information on Postcode Software COM Object
NET assembly/Csharp NET Assembly Example C#.NET .NET Assembly Desktop app example for FULL (With advanced search), Thoroughfare/Street and PostZon Data
NET assembly/VB NET Assembly Example VB.NET .NET Assembly Desktop app example for FULL (With advanced search), Thoroughfare/Street and PostZon Data
The above examples show how to use our .NET Assembly to quickly add Postcode Finder Software to your .NET Desktop app.
More information on .NET Assembly for Postcode Finder.
Reseller/VBNET Manager Customer Accounts VB.NET SOAP Example of using the reseller portal
The above example allows a reseller to completely automate account creation for full 30 day trial and later purchase licenses for use with our system
More information about Reseller Portal
VB6 HTTP Example VB6 HTTP/XML Example of how to use HTTP/XML web service to get FULL, Thoroughfare/Street and PostZon Data
The above HTTP/XML examples show how to get the data from our Web Server using HTTP/XML calls.
More information about HTTP/XML Postcode web service software
SOAP/VBNET 2003 FULL PAFF VB.NET SOAP Get Full using SOAP Web Service
SOAP/VBNET 2003 PostZon VB.NET SOAP Get PostZon using SOAP Web Service
SOAP/VBNET 2003 Thoroughfare VB.NET SOAP Get Thoroughfare/Street using SOAP Web Service
SOAP/VBNET 2010 FULL PAFF VB.NET SOAP Get Full using SOAP Web Service
SOAP/VBNET 2010 PostZon VB.NET SOAP Get PostZon using SOAP Web Service
SOAP/VBNET 2010 Thoroughfare VB.NET SOAP Get Thoroughfare/Street using SOAP Web Service
SOAP/VBNET 2008 SOAP FULL ADV search VB.NET SOAP Example of Full address with Advanced Search using SOAP Service
The above SOAP examples can easily be upgraded to your version of Visual Studio when opened.   More information on Postcode Finder SOAP web service
HTTPExample.exe Demo HTTP/XML Demonstrates the HTTP/XML calls by showing the url called and the XML results. Should run from this directory on any PC
InstallSimplyPostcodeCOM.EXE Install N/A Installs the COM Object
Core data, supplied as a text file, is available for large business packages.   These examples show how to read "Data" string into List of Full Address lines for user selections.
see Royal Mail Paf Data File
Core Data\CSHARPE 2010 FULL CORE C#.NET text file  
Core Data\VBNET 2010 FULL CORE VB.NET text file  
 

 

 

For Web Sites

Example Directory Language API Used Description
AJAX/AJAX ASP Full Address ASP HTTP/XML AJAX Full Address example
AJAX/AJAX ASP Full Address 2 Addresses ASP HTTP/XML AJAX Full Address example with 2 address box on same page
AJAX/AJAX ASP NET Full Address ASP.NET HTTP/XML AJAX Full Address example
AJAX/AJAX ASP NET Full Address 2 Addresses ASP.NET HTTP/XML AJAX Full Address example with 2 address box on same page
AJAX/AJAX ASP NET Full Address 2 Addresses C# C# HTTP/XML AJAX Full Address example
AJAX/AJAX ASP NET Full Address C# C# HTTP/XML AJAX Full Address example with 2 address box on same page
AJAX/AJAX ASP NET Thoroughfare ASP.NET HTTP/XML AJAX Thoroughfare/Street Address example
AJAX/AJAX ASP NET Thoroughfare 2 Addresses ASP.NET HTTP/XML AJAX Thoroughfare/Street Address example with 2 address box on same page
AJAX/AJAX ASP NET Thoroughfare 2 Addresses C# C# HTTP/XML AJAX Thoroughfare/Street Address example with 2 address box on same page
AJAX/AJAX ASP NET Thoroughfare C# C# HTTP/XML AJAX Thoroughfare/Street Address example
AJAX/AJAX ASP Thoroughfare ASP HTTP/XML AJAX Thoroughfare/Street Address example
AJAX/AJAX ASP Thoroughfare 2 Addresses ASP HTTP/XML AJAX Thoroughfare/Street Address example with 2 address box on same page
AJAX/AJAX PHP Full Address PHP HTTP/XML AJAX Full Address example
AJAX/AJAX PHP Full Address 2 Addresses PHP HTTP/XML AJAX Full Address example with 2 address box on same page
AJAX/AJAX PHP Thoroughfare PHP HTTP/XML AJAX Thoroughfare/Street Address example
AJAX/AJAX PHP Thoroughfare 2 Addresses PHP HTTP/XML AJAX Thoroughfare/Street Address example with 2 address box on same page
The above examples are best for web site checkouts, as they use AJAX to have low impact into the site design.
See examples: Full Address or UK Street Address Finder
ASP ASP HTTP/XML How to get PostZon and Thoroughfare/Street data using HTTP/XML Web Service
In the "ASP" directory you will find a simply asp example to get a PostZon and Thoroughfare PAF Address record from our postcode server.

These DO NOT require any additional components loading on your server
ASP.c sharpe 2008 Address Search C#.NET SOAP How to get FULL, Thoroughfare/Street and PostZon Data
ASP.NET 2008 Address Search VB.NET SOAP How to get FULL, Thoroughfare/Street and PostZon Data
The above SOAP examples show how to get the data from our Web Server using SOAP calls.
More information on SOAP Postcode Finder Web Service
PHP core code/Full Address core code PHP HTTP/XML Get Full using HTTP/XML Web Service
PHP core code/PostZon core code PHP HTTP/XML Get PostZon using HTTP/XML Web Service
PHP core code/Thoroughfare core code PHP HTTP/XML Get Thoroughfare/Street using HTTP/XML Web Service
Python Python HTTP/XML Get Thoroughfare/Street using HTTP/XML Web Service
Java Java HTTP/XML Get Thoroughfare/Street using HTTP/XML Web Service
The above HTTP/XML examples show how to get the data from our Web Server using HTTP/XML calls.
More information on Postcode Finder HTTP/XML web service  The example HTTPExample.exe, in the root directory demonstrates the HTTP/XML calls.
Nearest functionality/ASP Nearest Option 2 ASP HTTP/XML Template for implementing Option 2 of Nearest Store Functionality
Nearest functionality/Display map and results .NET 2005 ASP.NET HTTP/XML Template for implementing Option 2 of Nearest Store Functionality with/without map
Nearest functionality/PHP Nearest Option 1 PHP HTTP/XML How to get Long and Lat using PHP
Nearest functionality/PHP Nearest Option 2 PHP HTTP/XML Template for implementing Option 2 of Nearest Store Functionality with/without map
Nearest functionality/PHP Nearest Option 2 with type filter PHP HTTP/XML Template for implementing Option 2 of Nearest Store Functionality, with a type filter with/without map
Web Popup/JQuery PHP Popup PHP JSON Web Popup for full (optionally including Advanced search),street address level using PHP
Web Popup/JQuery NET Popup/VB_NET VB.NET JSON Web Popup for full (optionally including Advanced search),street address level using VB.NET
Web Popup/JQuery NET Popup/C_NET C#.NET JSON Web Popup for full (optionally including Advanced search),street address level using C#.NET
The above examples implement the search popup which are implemented on our home page. For a demo also see:
Click here for Postcode Finder Software for Web
Web Popup/OLD Popup/PHP Full Address Web Pop-up PHP HTTP/XML Web Popup for full address using ASP
Web Popup/OLD Popup/VBNET 2005 Full Address Web Popup VB.NET HTTP/XML Web Popup for full address using .NET
Ideal for Web based applications. It is quick and easy to add Postcode lookup to any web page, it uses DHTML so is not stopped by pop-up blockers.   The "Web Popup/JQuery PHP Popup" examples above this section are the preferred method.
Core data, supplied as a text file, is available for large business packages.   These examples show how to read "Data" string into List of Full Address lines for user selections.
see Royal Mail Paf Data File
Core Data\CSHARPE 2010 FULL CORE C#.NET text file  
Core Data\VBNET 2010 FULL CORE VB.NET text file  

For Desktop Software

Example Directory Language API Used Description
COM Object/
SimplyPostCodeLookupCOMExample.exe
  COM Example program of using COM
COM Object/C++ COM Object c++ COM Using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/COM Object Files   COM All the file need to install the COM Object. These are install by InstallSimplyPostcodeCOM.EXE, but can be included in your own install routine
COM Object/Csharp COM 2008 C# COM Using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/Csharp COM 2010 C# COM Using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/Delphi6 COM Delphi COM  
COM Object/VB6 COM Example VB6 COM Using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/VB6 COM Example Late Binding VB6 COM Using COM for FULL, Thoroughfare/Street and PostZon Data, using Late binding
COM Object/VBNET COM 2008 VB.NET COM Desktop App using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/VBNET COM 2010 VB.NET COM Desktop App using COM for FULL, Thoroughfare/Street and PostZon Data
COM Object/MS Access 2000 onwards/
Using COM Object.mdb
VBA COM Example for FULL, Thoroughfare/Street and PostZon Data
COM Object/MS Access 2000 onwards/
Using HTTP_XML Web Service.mdb
VBA HTTP/XML Example for FULL, Thoroughfare/Street and PostZon Data (NO COM Object)
COM Object/MS Excel using COM VBA COM Example for FULL, Thoroughfare/Street, Nearest Store and PostZon Data
Press Alt+F11 to view code
InstallSimplyPostcodeCOM.EXE Install N/A Installs the COM Object
All COM examples require “InstallSimplyPostcodeCOM.EXE” to install COM object first. This is found in the root directory of the Example code download. It must also be run on each of your customers’ machine before they can use the Postcode functionality. 
More information on Postcode Software COM Object
NET assembly/Csharp NET Assembly Example C#.NET .NET Assembly Desktop app example for FULL (With advanced search), Thoroughfare/Street and PostZon Data
NET assembly/VB NET Assembly Example VB.NET .NET Assembly Desktop app example for FULL (With advanced search), Thoroughfare/Street and PostZon Data
The above examples show how to use our .NET Assembly to quickly add Postcode Finder Software to your .NET Desktop app.
More information on .NET Assembly for Postcode Finder.
Reseller/VBNET Manager Customer Accounts VB.NET SOAP Example of using the reseller portal
The above example allows a reseller to completely automate account creation for full 30 day trial and later purchase licenses for use with our system
More information about Reseller Portal
VB6 HTTP Example VB6 HTTP/XML Example of how to use HTTP/XML web service to get FULL, Thoroughfare/Street and PostZon Data
The above HTTP/XML examples show how to get the data from our Web Server using HTTP/XML calls.
More information about HTTP/XML Postcode web service software
SOAP/VBNET 2003 FULL PAFF VB.NET SOAP Get Full using SOAP Web Service
SOAP/VBNET 2003 PostZon VB.NET SOAP Get PostZon using SOAP Web Service
SOAP/VBNET 2003 Thoroughfare VB.NET SOAP Get Thoroughfare/Street using SOAP Web Service
SOAP/VBNET 2010 FULL PAFF VB.NET SOAP Get Full using SOAP Web Service
SOAP/VBNET 2010 PostZon VB.NET SOAP Get PostZon using SOAP Web Service
SOAP/VBNET 2010 Thoroughfare VB.NET SOAP Get Thoroughfare/Street using SOAP Web Service
SOAP/VBNET 2008 SOAP FULL ADV search VB.NET SOAP Example of Full address with Advanced Search using SOAP Service
The above SOAP examples can easily be upgraded to your version of Visual Studio when opened.   More information on Postcode Finder SOAP web service
HTTPExample.exe Demo HTTP/XML Demonstrates the HTTP/XML calls by showing the url called and the XML results. Should run from this directory on any PC
InstallSimplyPostcodeCOM.EXE Install N/A Installs the COM Object
Core data, supplied as a text file, is available for large business packages.   These examples show how to read "Data" string into List of Full Address lines for user selections.
see Royal Mail Paf Data File
Core Data\CSHARPE 2010 FULL CORE C#.NET text file  
Core Data\VBNET 2010 FULL CORE VB.NET text file