MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




MapPoint Get MSAs Add-in

This is a discussion on MapPoint Get MSAs Add-in within the MP2K Magazine Articles forums, part of the Map Forums category; MapPoint Get MSAs Add-in Learn how to create a MapPoint add-in by using the MapPoint object model and Microsoft Visual ...


Go Back   MapPoint Forums > Map Forums > MP2K Magazine Articles

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-08-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
MapPoint Get MSAs Add-in

MapPoint Get MSAs Add-in

Learn how to create a MapPoint add-in by using the MapPoint object model and Microsoft Visual Basic .NET. With the add-in, users can query Pushpin sets to find out if any of the Pushpins are located within Metropolitan Statistical Areas (MSAs). The add-in then displays the query results in a Microsoft Excel workbook.

Read the full article here -
http://www.mp2kmag.com/a119--metropo....mappoint.html

To post a comment or question click on Post Reply.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 02-09-2005
Member
Yellow Belt
 
Join Date: Mar 2003
Posts: 41
Laura,

Thanks for the article. I've been wanting to do some MapPoint programing in .NET for a long time now. Reinforces that I am setting up the project correctly but what I can't figure out is how to enable debugging. I can create the program and run it just find but real time debugging (with breakpoints and such) don't work. I have created a MapPoint pluggin using .NET 2005 Beta and that seams to work fine. Do I have to wait for 2005 to get full capability?

Thanks,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 04-30-2005
Member
Yellow Belt
 
Join Date: Mar 2003
Posts: 41
Visual Studio cannot debug [MapPoint] Add-In if .NET 2.0 run

Quote:
Originally Posted by Labtek
Laura,

Thanks for the article. I've been wanting to do some MapPoint programing in .NET for a long time now. Reinforces that I am setting up the project correctly but what I can't figure out is how to enable debugging. I can create the program and run it just find but real time debugging (with breakpoints and such) don't work. I have created a MapPoint pluggin using .NET 2005 Beta and that seams to work fine. Do I have to wait for 2005 to get full capability?

Thanks,
Ok, I have finally discovered the source of this problem and posted the solution to my blog.

Apparently MapPoint would run all add-ins written in .NET using the latest version of the .NET runtime found on the machine. For my machines this was version 2.0. When trying to debug the application would crash because the debugger (apparently) was expecting 1.1. The solution is to force MapPoint to run the add-ins using version 1.1. To do this create a file in the MapPoint directory (the one containing MapPoint.exe) named MapPoint.exe.config. The file should contain the following text:

Code:
<configuration>
  <startup>
    <supportedRuntime version="v1.1.4322"/>
  </startup>
</configuration>
After that I have no problems debugging .NET applications in visual studio 2003.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 04-30-2005
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,314
Blog Entries: 1
Very cool -- good work. Thanks for sharing. I've only been successful with .NET and MapPoint about half the times I've tried (would then just go back to VB6 or VBA), I'm sure I encountered this problem before and gave up.

Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
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


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
OLAP MAPPOINT with MSAS adirat MapPoint 2006/2009 Discussion 0 09-21-2005 08:25 AM


All times are GMT -5. The time now is 11:53 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

Cheap Flights from Manchester
Book cheap flights from Manchester Airport from a range of Tour Operators and airlines. Holiday Hypermarket will help you jet off. Visit online to find useful airport information too.

Flights to Cyprus
Find cheap flights to Cyprus on Travel Counsellors. A personal Travel Counsellor can help you plan flights and find accommodation in Cyprus.

Italy Holiday
An Italy Holiday is full of interesting stuff for the casual tourist and even more for the educated visitor. Check out the latest great deals at dealchecker.co.uk.

Dominican Republic Holidays
Dominican Republic holidays have something to offer for everyone. From water sports, to sun bathing and more, enjoy a holiday there!

Cheap Egypt Holidays
Pick up a bargain cheap Egypt holiday online when you visit ulookubook.com. Just check out our tips to make sure you book at the right time to get a great holiday for a great price. Finding cheap Egypt holidays can be simple when you know how.

Holiday Comparison
We can help you with holiday comparison when you check out the options at Travel.co.uk

Cheap Florida Holidays
You thought American holidays were expensive? No ways! Affordable holidays to Florida, only at On The Beach.


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