Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

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

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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.

  2. #2
    Labtek is offline 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,

  3. #3
    Labtek is offline 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.

  4. #4
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    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
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. OLAP MAPPOINT with MSAS
    By adirat in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-21-2005, 09:25 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96