MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




limiting objects in collection

This is a discussion on limiting objects in collection within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi all, after reverse geocoding lat/lon coords (thanks to Gilles K. for his article on Reverse Geocoding, the basis for ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

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 04-27-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
limiting objects in collection

Hi all,

after reverse geocoding lat/lon coords (thanks to Gilles K. for his article on Reverse Geocoding, the basis for my app) I create :

Private Sub ShowResults(oRes As MapPoint.FindResults)

Dim oObj As Object

'this is for testing purposes only to show me which objects are in the collection

For each oObj in oOres
Msgbox oObj.Name
Next

I am only interested in Street Address and Country.
How do I eliminate all other objects in the resulting collection?
How do I identify the different objects?

For me, a 'good' collection has a street address. If the collection has less than 5 objects, it usualy means I don't have a streetaddress, and I restart my search, until I get a collection that does fulfill my needs.

Any suggestions? (Gilles??)

thx,

James Boelens
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
collection, limiting, objects


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
garbage collection SimonPearse MapPoint 2006/2009 Discussion 6 01-05-2007 01:10 PM
Garbage collection daxydoggie MapPoint 2006/2009 Discussion 3 05-04-2005 01:35 PM
requested member of collection does not exist Anonymous MapPoint 2006/2009 Discussion 0 11-16-2004 08:22 AM
the requested member of the collection does not exist." yvdp MapPoint 2006/2009 Discussion 5 07-20-2004 02:18 PM
Could someone explain how item() works on shapes collection? spideybud MapPoint 2006/2009 Discussion 0 12-15-2003 03:02 PM


All times are GMT -5. The time now is 06:23 PM.


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


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