Community of VE/MapPoint Users and Developers
This is a discussion on FindPlaceResults, I need Help!!! within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I've just a little problem with find methods. I've got Mappoint 2004 Italian versione for Europe, but it seems ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| FindPlaceResults, I need Help!!! I've just a little problem with find methods. I've got Mappoint 2004 Italian versione for Europe, but it seems to have some problem when I use the find method. For example I use this simple code in VB6: Private Sub Form_Load() Dim objApp As New MapPoint.Application Dim objFindResults As MapPoint.FindResults Set objFindResults = objApp.ActiveMap.FindResults("Parigi, Francia") End Sub But objfindresults is empty: It doesn't find anything!!!! I've tried other method Find PlaceResults FindAddressResuls etc. but the results is the same. There seems to be a problem with language... Does anyone ha encountered a similar problem? Thank you |
| |||
|
Hi, What happens if you try to find the same in the mappoint application itself ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi Wilfried, thank you for answering. It returns 27 hints (the results are correct)! So the application run correctly... but when I try to use the findResults, or findplaceresults or findaddressresults It gives no answer! The same happens when I try to look for "Londra, Regno Unito" or something similar: no answer! I hope you could help me... thank you bye |
| |||
|
Hi, I see following in your code (sorry I did not see it before): Code: Dim objApp As New MapPoint.Application
Dim objFindResults As MapPoint.FindResults
Set objFindResults = objApp.ActiveMap.FindResults("Parigi, Francia")
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| FindPlaceResults
Hi Wilfried, thank you for answering, Just to say that I found the following code in Mappoint 2004 help: Dim objApp As New MapPoint.Application Dim objFindResults As MapPoint.FindResults Set objFindResults = objApp.ActiveMap.FindResults("Parigi, Francia") The object objfindResults is not Nothing and more, the result is that objFindResults.count=0. When I use the same procedue for other city for example "Roma" or other italian cities, objfindresults contains many records... so I think that the code is right. I think it should be a problem with language but I don't know what.... |
| |||
|
Hi, Yes then the code must be right, sorry for misleading. Further I have no idea, I have english europe version, but I tryed same as you with 0 results, but also not in the map itself. Then I tryed this in map and in code and I got 46 and 72 results: Code: FindResults results = MP.ActiveMap.FindResults("Parigi, Italy");
Console.WriteLine(results.Count.ToString());
results = MP.ActiveMap.FindResults("Francia, Italy");
Console.WriteLine(results.Count.ToString());
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi lucaceleghin, i have the german version of MapPoint and I have the same problem as you have. At MapPoint it self i get results, but in code I don't. But some searchrequests work, for example if I search for "München, Deutschland" it works and also "Munich, Germany" works. I also guess that this problem is involved with the language. I'm sorry, I can't help you, but i can tell you, you're not the only one |
| |||
|
I'm sorry I didn't saw that you already tried with FindPlaceResult function. It appears that search have quite correct results only when country is in english like "Parigi, France" or "Londra, United Kingdom". May be MapPoint 2006 EU don't have this problems. We hope! Byeee |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FindPlaceResults() method fails to return complete addresses | Fer | MapPoint 2006/2009 Discussion | 0 | 06-13-2003 03:33 PM |
Kitzbuhel Skiing
Kitzbuhel is architecturally the most beautiful Ski resort in Austria. Kitzbuhel skiing encourages skiers to test their skills on the numerous pistes around the village.
European City Breaks
Find European City Breaks on Travel Counsellors. Based on holidays booked this year, these are the most popular City Breaks for 2006
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!
Cheap Cyprus Holidays
Finding cheap Cyprus holidays can be difficult unless you know where to look and where to book. With ulookubook.com you can conduct a simple search to find the latest holiday deals to your particular destination.
Travel
Before making a choice regarding travel, check out the amazing variety of options on Travel.co.uk.
Lanzarote Holidays
Visit the easternmost island of the archipelago! Book Lanzarote holidays at On The Beach!