spacer1
spacer2 1_1 1_2
2_1
 Subscribe
 The MP2K Update!
 
 
 
 Magazine
Front Cover
What's New
Articles
News
Sample Data
Gallery
Advertise
About
 Features
MapPoint 2013
Press Releases
MapPoint Forums
Companies
Link to MP2Kmag
Wish List
MapPoint Trial
Authors
 Earlier Content
Past News Items
Past What's New Announcements
 Sponsors
 Order

MapPoint 2013

Programming MapPoint in .NET

MapPoint Book

  Spatial Community
SVG Tutorials
MapPoint

Map Visitors

  MAPPOINT Q & A  

Top | Post New Question | Read All | MP2K Asks Microsoft

702 Dave - June 3, 2002

i have two questions: i am using mappoint 2001 and VB. i am trying to insert pushpins based on a database i am running off of. am i able to plot the pushpins based only on city and state information, or must i have a complete address? my second question is that once i get these pushpins placed, how do i delete them in VB? i want to clear the map of all pushpins and start all over by plotting a different set of data. thanks for anyone who can help.

Answer:
June 4, 2002
First, I would upgrade to the newest version of MapPoint as soon as possible. I'm not sure when MapPoint 2003 is coming out, but get it. Each version I have used has really improved the object model and what you can do through code.

With that said, you can certainly search with only city and state. A pushpin added that way should appear at the geographic center of the city.

In VB, use the Delete method to remove a pushpin: "objPushpin.Delete". See VB help for syntax examples. To clear all pushpins more quickly, use the Delete method on all datasets in the map.

- Walt Cygan

Post New Answer / Follow-up


Google
 
MP2Kmag Internet


 Recent Discussion
 Resources


Want Your Site To Appear Here?

   © 1999-2012 MP2K. Questions and comments to: website@mp2kmag.com
  Microsoft and MapPoint 2002/2004/2006/2009/2010/2011/2013 are either trademarks or registered trademarks of Microsoft.