MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




Problem with FindAddressResults

This is a discussion on Problem with FindAddressResults within the Development forums, part of the MapPoint Desktop Discussion category; Hi I am using mappoing control in my app. I use findAddressResults to find the locations according to the input ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion > Development

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-28-2010
Junior Member
Yellow Belt
 
Join Date: Jun 2010
Posts: 26
Problem with FindAddressResults

Hi I am using mappoing control in my app. I use findAddressResults to find the locations according to the input address. I am not sure what I should put in the last argument. I tried give 'a' a value of 1, and I got this error: "cannot parse an address within the specified country".
The code is in c++

VARIANT a;
a.vt = VT_I4;
a.lVal= 1;
CFindResults results = m.FindAddressResults("N BROADWAY","Los Angeles","","CA", "",a);

Anyone can help? thanks
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 07-28-2010
Junior Member
Yellow Belt
 
Join Date: Jun 2010
Posts: 26
Re: Problem with FindAddressResults

Nevermind, i found it out. a should be 244
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
findaddressresults, problem


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
map.FindAddressResults Problems voelkl25 MapPoint Desktop Discussion 1 07-22-2008 10:20 AM
map.FindAddressResults Problems voelkl25 Development 0 07-22-2008 08:29 AM
FindAddressResults returns nothing Anonymous MapPoint Desktop Discussion 5 12-07-2004 04:23 AM
Problem with FindAddressResults Anonymous MapPoint Desktop Discussion 1 10-01-2004 09:04 AM
Need help about the FindAddressResults Anonymous MapPoint Desktop Discussion 3 08-21-2002 07:51 PM


All times are GMT -5. The time now is 04:01 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.0 RC3
MP2K Magazine
Visitor Map



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 60 61 62 63 64 65 66 67 68 69 70