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

Urgent Upgrade to 200 Needed

This is a discussion on Urgent Upgrade to 200 Needed within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, In a few hours I'll be needing to do an urgent upgrade of my C# program's use of MP ...

  1. #1
    BobFromBoston is offline Senior Member Green Belt
    Join Date
    Jul 2005
    Posts
    128

    Urgent Upgrade to 200 Needed

    Hi,

    In a few hours I'll be needing to do an urgent upgrade of my C# program's use of MP 2004, to 2006.

    Can anyone give me the heads up on what functions may have changed? And what may need to be done differently?

    Clearly I need to change the directory where it loads
    New North American Map.ptt

    But I doubt I'll be lucky enough for that to be the extent of it.

    Also, are there any tricks to adding a reference to MP 2006 into Visual Studio? Where do I get the files:

    Interop.MapPoint.dll
    AxInterop.MapPoint.dll

    When I do a complete install for 2004, I do not find those files, however they are part of my Visual Studio project, although I can not recall where I got them.

    Thanks,
    Bob

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: Urgent Upgrade to 200 Needed

    Hi Bob,

    The files are created by VS. You have to add reference to the *.ocx file in the COM tab. The file is in the MP directory. The type library if you need it you find in the microsoft shared folder. However after installation all these should be in the COM tab of VS.

    For the rest all is backward compatible. Interesting thing: the Location object has a Latitude and Longitude property.

  3. #3
    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: Urgent Upgrade to 200 Needed

    As Wilfried says, the most interesting change are the Location's Longitude & Latitude properties. There were always (well since 2002) there, but only set if the Location was created with a Longitude and Latitude. In 2006, they are always there - ie. you no longer require Gilles' code for finding the coords.

    This was one of the reasons why my latest product (in testing) is for MapPoint 2006 only.

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

  4. #4
    BobFromBoston is offline Senior Member Green Belt
    Join Date
    Jul 2005
    Posts
    128

    Re: Urgent Upgrade to 200 Needed

    thanks.

    I also use Gilles' code for finding the coords

    Bob

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. MapPoint Consultant Needed
    By eric.hill in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 01-31-2007, 11:23 AM
  2. Forum Upgrade
    By Eric Frost in forum MapPoint Desktop Discussion
    Replies: 10
    Last Post: 02-11-2006, 12:27 PM
  3. c# ImportData method help needed
    By fletch in forum MapPoint Desktop Discussion
    Replies: 8
    Last Post: 03-09-2005, 10:15 AM
  4. upgrade
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-26-2004, 01:36 PM
  5. Less Address Accuracy Needed(!)
    By NickS in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-28-2003, 04:39 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