MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth 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

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #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: 3,041
Blog Entries: 2
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,177
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

Tags
delphi, findaddress, mp2k4


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 02:17 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Menorca Holiday
Enjoy a Menorca holiday at a great rate when booked through UlookUbook!



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 52 53 54 55 56 57 58 59