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

mappoint, visual c++ vs visual basic

This is a discussion on mappoint, visual c++ vs visual basic within the MapPoint Desktop Discussion forums, part of the Map Forums category; hi .. i am a beginner in mappoint automation, it seems that mappoint is mainly used with visual basic ... ...

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

    mappoint, visual c++ vs visual basic

    hi ..
    i am a beginner in mappoint automation, it seems that mappoint is mainly used with visual basic ... what about visual c++ ? all what i need to do is to add pushpins on the map by giving long and lat
    if someone can give me a piece of advice, i will appreciate, many thanks

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Is there an advantage for you in using C++? It can certainly be done but there are some additional hurdles.. are you thinking about Visual C++ or another C++? Also, what version?

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

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

    I have almost the same question like alain_g400.

    I'm using Microsoft Visual C++ 6.0.
    I have MapPoint 2004 Europe and would like to create a small application to test the MapPoint integration into a C++ project.

    i.e.: I'd like to display a simple route between two points A and B on the map.
    For testing purposes I will directly code the points A and B into my code (hardcoding). Then when you click on a button, the map (MapPoint) will open and show the route between A and B.

    Can anybody tell me where I can find some sample code for this? (I'm quite sure that I'm not the first person trying to realize this.)

    Thanks for any input.

    Cheers,
    Robert

  4. #4
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    Have you tried looking in the articles section of this website?

    Here's a recent article I wrote about doing it without MFC:

    http://mp2kmag.com/a106--c++.without.mfc.mappoint.html

    The article even gives a routing example.
    You may prefer to use MFC, in which case there are some functions available to make it a bit easier.
    However MFC is getting a bit old and clunky IMHO.


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

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    Thanks a lot. That helps me!

    Regards,
    Robert

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

    Mappoint webservice

    Hi,
    and how about using the MapPoint web service with C++? I have no problem using it with C#, but as I have already a lot of code written in C++ I'd prefer this language. I'm using VS .NET 2003 and it's an MFC application.
    Thanks for any help!

  7. #7
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60
    I haven't used the WebService, but I would have thought C# would have been a 'natural' choice.

    Presumably one choice is to convert your C++ to "Managed C++". I've never worked with Managed C++ so I can't tell you what is involved.



    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. Query Mappoint Visual Basic 6.0
    By virgilar in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 10-08-2005, 08:54 AM
  2. Help with programming in visual basic and accessing mappoint
    By kriek in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 09-05-2003, 06:50 PM
  3. Visual Basic. NET and MapPoint
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-30-2003, 03:49 PM
  4. Visual basic or visual c++ in mappoint
    By misterb83 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 02-14-2003, 09:31 AM
  5. I am using MapPoint 2001 and Visual Basic(6.0). I....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-10-2002, 09:33 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