MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




FindPlaceResults, I need Help!!!

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 ...


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 05-22-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 3
FindPlaceResults, I need Help!!!

Hello,
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
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 05-23-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Hi,

What happens if you try to find the same in the mappoint application itself ?
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 05-23-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 3
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
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 05-24-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
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")
But you dont load a map first ! Please check objFindResulsts, it is probalby Nothing ! So you first have to load a map before you can access ActiveMap. Strange, I should expect there would be an exception error !
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 05-25-2005
Junior Member
White Belt
 
Join Date: May 2005
Posts: 3
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....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 05-25-2005
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
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());
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 07-24-2006
Junior Member
White Belt
 
Join Date: Jul 2006
Posts: 2
Post same problem as you

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 07-27-2006
Junior Member
White Belt
 
Join Date: Oct 2005
Posts: 9
Hi lucaceleghin,

If I correctly understand in your case you are searching not for an address but for a place.
So in this case it should be more correct try with:
Code:
FindPlaceResults("Parigi, Francia")
Bye!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 07-27-2006
Junior Member
White Belt
 
Join Date: Oct 2005
Posts: 9
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
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
FindPlaceResults() method fails to return complete addresses Fer MapPoint 2006/2009 Discussion 0 06-13-2003 03:33 PM


All times are GMT -5. The time now is 04:02 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

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!


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