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

Embedding MP within BorlandC++Builder5

This is a discussion on Embedding MP within BorlandC++Builder5 within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi I think it can be done but I can't do it. Here's what I have done so far; 1. ...

  1. #1
    mccheese is offline Junior Member White Belt
    Join Date
    May 2004

    Embedding MP within BorlandC++Builder5


    I think it can be done but I can't do it. Here's what I have done so far;
    1. in BorlandC++Builder5 imported the ActiveX Control "mappointcontrol.ocx" in the \Program Files\Microsoft Mappoint Europe directory. This registers the control and the Mappoint Pushpin icon appears in the ActiveX tab. OK.
    2. I then try to drag a copy of the icon onto a form to create a component and an error message appears "no such interface supported".

    What is happening?
    What have I done wrong?
    How can I embed Mappoint in BorlandC++Builder5?

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002

    mappoint and borland

    My tip to you would be to run screaming whilst you still can.
    Secondly learn to use vb and do it in that.
    Thirdly pursue borland as follows:

    Microsoft helpfully did not allow the ocx component to work with anything other than VB so here's what you have to do:

    Project.. Import Type Library
    choose microsoft mappoint from the list (from memory there are 2)
    one of them has 3 components TMap, TApp and something else.
    Install this.
    Then on your form add an ole container from the system tab
    you can place TMap and TApp objects on your form and link them to the ole container.

    Search this newsgroup for borland related things and i think there are some examples - at worst from memory mp2kmag has an example done in delphi that you can port.

    Hope this helps

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Embedding MapPoint app into a WinForm?
    By tacaldo in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 03-24-2005, 10:58 AM
  2. Embedding MapPoint Install Process in Our Software Install
    By jbendiner in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-30-2004, 01:50 PM
  3. Embedding Mappoint 2002 Europe into Powerpoint XP
    By amyles in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 05-08-2003, 05:17 PM
  4. Embedding a map in an Access report
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 10-14-2002, 10:27 AM
  5. 10 Second Tutorial: Embedding With Word
    By Anonymous in forum MP2K Magazine Articles
    Replies: 0
    Last Post: 06-30-2001, 11:48 PM

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