View Single Post

  #8 (permalink)  
Old 08-20-2002
John Meyer's Avatar
John Meyer John Meyer is offline
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
David,

There is NOT an easy way to do what you are trying to do (That I can see): ie just using a postcode and reterning the closest street.

About the most I could get the StreetAddress property to do was return the City if that was the only thing I omitted when I used FindAddressResults to get my Location object..

I think that when you tried to get a location object ("even when the original request already had a street name") the reason you got an error was Mappoint did not have enough info to get a match and returned Nothing. in other words when you tried to use the objLocStreetAddress.Street (or whatever) your objLoc was Nothing.

FindNearby method results are limited to the currently visible PlaceCategory objects (Like Restaurants, Airports etc..) So that wouldn't work even if you have a good location object.

Sorry I couldn't be of more help. If anyone else has an idea feel free to jump in!
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Reply With Quote