MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




delphi mp2k4 findaddress

This is a discussion on delphi mp2k4 findaddress within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Does anyone have a working findaddress code sniplet or could anyone tell me how do I use the returning idispatch ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-14-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
delphi mp2k4 findaddress

Does anyone have a working findaddress code sniplet or could anyone tell me how do I use the returning idispatch to focus my map on that point.

Regards,
Tom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 02-14-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
i figured it out

Tom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 02-15-2005
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,319
Blog Entries: 1
Please share
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 03-24-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Answer Please

I am glad you figured it out. Now I need the answer too. So if you could post your snippet of code for using FindAddress or if anyone else could post one that would be great. Thanks
Eric Brooksby
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 03-24-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

From the top of my head:

Code:
var
   i: OleVariant;
   Loc: Variant;
   AddrResults: FindResults;
   Country: OleVariant;
begin
      // fill in City, Street, etc...
      AddrResults := Map.FindAddressResults(Street, City, '', '', PostalCode, Country);

      if AddrResults.Count > 0 then
         for n := 1 to AddrResults.Count do begin
            i := n;
            Loc := AddrResults.Item[i];

            // here you have all these things:
            // Loc.StreetAddress.Street;
            // Loc.StreetAddress.City;
            // Loc.StreetAddress.postalcode;
I like to ask everyone to give also feedback if solution is found ...It will benefit others too !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
FindAddress neighbourhood BE eblubber MapPoint Web Service and Virtual Earth 1 03-24-2006 02:00 AM
Network installation & use of MP2K4 Anonymous MapPoint 2006/2009 Discussion 3 02-19-2005 02:02 AM
FindAddress Results in c# starbuck MapPoint 2006/2009 Discussion 1 09-21-2004 05:00 PM
Considering Moving To MP2k4 Anonymous MapPoint 2006/2009 Discussion 1 05-04-2004 02:46 PM
Using MP2K4 to launch an other application arkus MapPoint 2006/2009 Discussion 0 04-27-2004 11:23 PM


All times are GMT -5. The time now is 11:37 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Flight Times
At Holiday Hypermarket not only can you book some great value flights but we have links to help you check flight times for arrivals and departures from each airport.

Home Based Travel Agent
Book your travel through a Home Based Travel agent. Travel Counsellors are a Queen's Award winning Travel Agent.

Thailand Holiday
A Thailand Holiday has much to offer with historic culture, lively arts, beautiful beaches, a good nightlife, friendly and hospitable people and one of the best cuisines in the world.

Egypt Holidays
Visit one of the most spectacular sightseeing destinations in the world with The Holiday Place. Egypt holidays provide a fantastic break!

Cheap Holidays
Hunting for cheap holidays? Well save time by booking online with ulookubook.com and you can even check out our top tips to help you hunt down a bargain holiday.

Compare Holidays
Compare holidays online where you can see all the amazing possibilities at Travel.co.uk

Cheap Portugal Holidays
Hotels of all ratings! Find information on cheap Portugal holidays at On The Beach!


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51