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

548 Martin Stewart - December 18, 2001

I am using the evaluation version of Mappoint 2002 in a VB program. My program displays the european map with various pushpins pointing to street addresses. I am trying to use the Country property of the StreetAddress object to zoom the map to the country where a pushpin has been selected, but this property only returns an integer reference rather than the country name. Is there a way I can convert this to the country name without having to hold an internal cross-reference table in my application ?

Answer:

Look in the MapPoint Visual Basic Reference for "GeoCountry values" in the "Syntax and values" section. Every country has a programmatic value such as "geoCountryBulgaria" (value of 35), which are listed in that help topic.

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