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

Difference between MapPoint 2006 and 2009 with C#

This is a discussion on Difference between MapPoint 2006 and 2009 with C# within the MP2K Magazine Articles forums, part of the Map Forums category; Hi to everyone! I have a problem, I don't understand a thing: I created an application, following the instrucions on ...

  1. #1
    ecocar is offline Junior Member White Belt
    Join Date
    Jan 2010
    Posts
    5

    Difference between MapPoint 2006 and 2009 with C#

    Hi to everyone!

    I have a problem, I don't understand a thing:
    I created an application, following the instrucions on "Programming MapPoint in NET" by Chandu Thota adding a reference an ActiveX Control....

    Section 2.3. Programming the MapPoint ActiveX Control 2.3. Programming the MapPoint ActiveX Control
    The programming models of the MapPoint 2004 APIs and MapPoint 2004 ActiveX Control are exactly the same, except that you use the AxMappointControl class instead of creating an ApplicationClass object to access the active map instance.
    2.3.1. Adding MapPoint 2004 ActiveX Control

    The first step towards developing with MapPoint 2004 ActiveX control starts with configuring your development environment. You need to add the ActiveX Control to your Visual Studio .NET toolbox to enable the "Drag-and-Drop" development tool.

    Note that if you have MapPoint 2004 APIs already added to your project, you need to remove that reference before you add ActiveX Control; adding ActiveX Control automatically adds the MapPoint 2004 API reference to your project.
    That's it! Now you are ready to develop applications using the MapPoint 2004 object model.
    2.3.2. Initializing the MapPoint 2004 ActiveX Control

    When you drag-and-drop the MapPoint control onto your Windows form, the reference to the MapPoint interoperable assembly is automatically added to your project, along with the control. The drag-and-drop operation also creates and adds an instance of MapPoint control to your code file:
    private AxMapPoint.AxMappointControl axMappointControl1;
    ------


    Now, I am trying to do the same thing with MapPoint 2009 but it doesn't work and I 'm becoming crazy.

    Please, I am a student, non a Pro C# user, if some one can help me...
    (I'm using Visual Studio 2009 )

    Thank you!

  2. #2
    madebyhisto is offline Member Yellow Belt
    Join Date
    Sep 2008
    Posts
    44

    Re: Difference between MapPoint 2006 and 2009 with C#

    Most exactly, what are you unable to do. Is it :
    - Add the activeX reference ?
    - Add the ocx object on the form ?
    - Open or create a new map on the control ?

    we need more detail on your problem to be more useful

  3. #3
    ecocar is offline Junior Member White Belt
    Join Date
    Jan 2010
    Posts
    5

    Re: Difference between MapPoint 2006 and 2009 with C#

    With MapPoin 2006 was very easy add an ActiveX Control to a project...
    -> Toolbox -> Add/Remove Items -> .COM -> select "Microsoft MapPoint Control 11.0"... then I could add into my form this control (axMappointControl1)

    ...Now, with MapPoint 2009, into .COM list I don't find any control like: "Microsoft MapPoint Control 16.0"...and adding..the file "MappointControl.ocx" manually it doesn't work anyway (I use EU version of MapPoint).

    Is it helpful?

    Thanks to eveyone!

  4. #4
    Dylanos is offline Junior Member White Belt
    Join Date
    Oct 2008
    Posts
    5

    Re: Difference between MapPoint 2006 and 2009 with C#

    I have the same problem and would like to have this working today

  5. #5
    Dylanos is offline Junior Member White Belt
    Join Date
    Oct 2008
    Posts
    5

    Re: Difference between MapPoint 2006 and 2009 with C#

    After googling i read that the control you get with 2009 Europe is corrupt and you need to use the one of USA.. downloading it now hope it works. Ill post it here if it does..

  6. #6
    ecocar is offline Junior Member White Belt
    Join Date
    Jan 2010
    Posts
    5

    Re: Difference between MapPoint 2006 and 2009 with C#

    Yes, if you could post it here, it would be nice!
    Thank you very much, really!

  7. #7
    Dylanos is offline Junior Member White Belt
    Join Date
    Oct 2008
    Posts
    5

    Re: Difference between MapPoint 2006 and 2009 with C#

    Sorry for my late respond but my problem was that i downloaded a non original mappoint so i could build my application untill my copy would arrive, i dropped this idea and will wait for my original copy which ill get from work soon.
    I didnt test it with the USA version.

    So best you could try is to email MS or download the USA version and use the control.

    Good luck with it!

  8. #8
    ecocar is offline Junior Member White Belt
    Join Date
    Jan 2010
    Posts
    5

    Re: Difference between MapPoint 2006 and 2009 with C#

    Thank you, but I am using a not original version too...so I don't want to contact Microsoft...

  9. #9
    Dylanos is offline Junior Member White Belt
    Join Date
    Oct 2008
    Posts
    5

    Re: Difference between MapPoint 2006 and 2009 with C#

    Give me your email and ill mail it to you when i have it which is still unsure cus i might get 2010 instead

  10. #10
    ecocar is offline Junior Member White Belt
    Join Date
    Jan 2010
    Posts
    5

    Re: Difference between MapPoint 2006 and 2009 with C#

    you can find me at: info.ecocar@gmail.com thanks!!!!!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Upgrade 2006 to 2009 MapPoint
    By bohell40 in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 07-19-2009, 02:51 AM
  2. Can MapPoint 2009 read maps from 2006 and the opposite?
    By papous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-15-2009, 05:05 AM
  3. MapPoint 2006/2009 unsifficient memory error
    By resideozsoy in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-12-2009, 04:23 AM
  4. Determine which Mappoint version is installed - 2009/2006
    By cocoflipper in forum Development
    Replies: 3
    Last Post: 01-13-2009, 11:46 AM
  5. Difference between MapPoint 2006 and MapPoint 2006 Fleet
    By jlewis in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-21-2006, 09:18 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 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127