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 2 of 2

MapPoint 2010 - compatibility of previous code?

This is a discussion on MapPoint 2010 - compatibility of previous code? within the Development forums, part of the MapPoint Desktop Discussion category; Hello and excuse me for coming to you with a question in my first post right away... I'm tasked with ...

  1. #1
    thrasher is offline Junior Member White Belt
    Join Date
    Oct 2009
    Posts
    1

    MapPoint 2010 - compatibility of previous code?

    Hello and excuse me for coming to you with a question in my first post right away...

    I'm tasked with an upgrade of an Application that uses COM to communicate with MapPoint and calculate the distance of a route, as well as showing the route in a MapPoint window.

    The code should run on MapPoint 2010 as well, but I can't find a Developer Reference for 2010 anywhere - as far as MSDN Library goes, our code should work with MapPoint 2006.

    What we were using until now:

    Code:
     
    Map.findAddressResults(street, city, othercity, region, postalcode, geoCountry)
    Map.findResults(String)
    FindResults.ResultsQuality
    FindResults.Item(int)
    WayPoints.add(Location)
    Route.calculate()
    Route.Distance
    Map.Saved(int)
    Map.SaveAs(String)
    App.UserControl/Boolean)
    App.OpenMap(String)
    App.Activate()
    Can anyone please advise if these Objects, Methods and Attributes remain unchanged in 2010 or if we have to start looking for alternatives.

    Will the object model of MapPoint 2010 Desktop also be programmable via .NET? And I don't mean calling the COM in .NET code but accessing these objects with a Microsoft.MapPoint assembly?

    Thank you for your help

    Robert

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: MapPoint 2010 - compatibility of previous code?

    It should work fine, although you might need to change the version number when you link to the COM objects. This would typically be at compile time, but it might also occur when you create your MapPoint.Application (or control) object.

    If it was built for 2006 (including compile time options), it will still work with 2009 and 2010.
    However, if you create a MapPoint.Application object with a specific version number, then you must have that version of MapPoint installed.


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mappoint 2010
    By lacja in forum Development
    Replies: 6
    Last Post: 12-22-2009, 12:16 PM
  2. MapPoint 2010 Pushpins
    By xjack in forum Development
    Replies: 0
    Last Post: 10-04-2009, 07:16 AM
  3. MapPoint 2010 Released
    By VirtualEarth MSDN Blog in forum Bing Maps Blogs & Tweets
    Replies: 0
    Last Post: 09-03-2009, 07:50 PM
  4. MapPoint 2006 backward compatibility
    By gavishek in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 08-21-2006, 10:01 PM
  5. Mappoint 2004 & Office 2003 compatibility problem
    By javigdiaz in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-16-2004, 09:24 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