Top |
Post New Question |
Read All |
MP2K Asks Microsoft
660
Hoang
-
May 2, 2002
In my app, it is required to allow the user to select an area on Mappoint, then select to retrieve all zip codes within that area.
Currently I see that can be done manually by creating a territory and then select "Export to Excel".
Can anybody help me how to do it by programming?
Answer:
Sorry, but this won't work. You can't export a territory to Excel. There are also no territory-related objects available in VB.
You could use the Data Mapping Wizard to create a shaded area map of, say, population by zip code. Then selecting a region and exporting to Excel would work.
The big problem with this is that the map performance would be very bad with every zip code displayed. When you move around on the map, it takes a while to refresh the display.
The other big question is how would you trigger the export in code. What event could you or would you use to do this that would be better than what MapPoint provides?
- Walt Cygan
Post New Answer / Follow-up