Community of VE/MapPoint Users and Developers
This is a discussion on Validate Address String within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Using Mappoint 2002 and VB 6.0 I have created a simple program to provide drivers with a route when they ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Validate Address String |
| |||
|
you have to validate address before sending it. you can use FindAddressResults method of map object of Mp2k2 object.FindAddressResults([Street], [City], [OtherCity], [Region], [PostalCode], [Country]) the function will return results. Then you will control if the address exists is. if not exists. then you must say to user to correct the address. MAybe you can give correct address. OR you can return to user the postal code that is missed. Just think abut it. Hope it helps. example pasted from microsoft reference: Sub FindAddressSearch() Dim objApp As New MapPoint.Application Dim objFindResults As MapPoint.FindResults 'Set up application objApp.Visible = True objApp.UserControl = True 'Output first result of find search Set objFindResults = objApp.ActiveMap.FindAddressResults("One Microsoft Way", "Redmond", , "WA", , geoCountryUnitedStates) MsgBox "The first item in the find list is: " _ + objFindResults.Item(1).Name End Sub |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remember to validate your geo-locations... | Winwaed | MapPoint 2006/2009 Discussion | 3 | 01-13-2006 12:41 PM |
| MappointControl OpenMap filename string length limitation | malejo | MapPoint 2006/2009 Discussion | 1 | 07-02-2005 02:55 AM |
| Drawing contour lines from nodes in a string file | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-29-2003 09:30 AM |
| Getting Lat/Lon from a given address | Anonymous | MapPoint 2006/2009 Discussion | 5 | 09-12-2003 03:01 PM |
| Create UDL from a connect string with code | kdybvik | MapPoint 2006/2009 Discussion | 1 | 08-23-2002 12:31 PM |
Heathrow Flights
Find information for Heathrow flights online at Holiday Hypermarket. We have information about a range of airports. No holiday detail is too small to overlook!
Flights to Turkey
Find cheap flights to Turkey on Travel Counsellors. A personal Travel Counsellor can help you plan flights and find accommodation in Turkey.
Holidays Thailand
Holidays in Thailand are hugely diverse with wonderful luxury resorts and beaches but also some lovely forested mountains with interesting hill tribes. See dealchecker.co.uk.
Holidays in Egypt
A holiday in Egypt will stimulate your mind, captivate your heart and spark your senses. Visit this exceptional country, book today!
Tunisia
Tunisia enjoys excellent weather, golden beaches and a beautiful blue sea. Moving away from the beach you will find a country that has a rich and varied past. Discover the secrets of history yourself by exploring all the ruins.
Package Holidays
With the help of Travel.co.uk you can find the package holidays of your dreams.
Lanzarote Holidays
Visit the easternmost island of the archipelago! Book Lanzarote holidays at On The Beach!