enumerate pushpin and finpushpin method

Anonymous
11-25-2002, 10:59 AM
Is there any way to enumerate pushpins? I guess maybe not, because multiple dataset could contain pushpin so Pushpin could not be a direct child of a dataset. Then it is a real pain to get to pushpins. The only way is through FIndPushpin(pushpin name) method. However, FindPushpin only works right after I add a pushpin. When invoked from other place, the method returns "Nothing". This may be a bug. I could not find any service pack for MapPoint 2002 in MS site. Any workaround, please. Wish MS will release a FindAllPushpins method!

Eric Frost
11-25-2002, 11:17 AM
See the QueryAllRecords method.. you should be able to use that and the DataSets index to get to all the Pushpins..

Eric

 
Web mp2kmag.com
mapforums.com