Community of VE/MapPoint Users and Developers
This is a discussion on Embedding MP within BorlandC++Builder5 within the MapPoint 2006/2009 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. ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| 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? |
| |||
| 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 Shaun |
![]() |
| Tags |
| borlandc, builder5, embedding |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Embedding MapPoint app into a WinForm? | tacaldo | MapPoint 2006/2009 Discussion | 7 | 03-24-2005 11:58 AM |
| Embedding MapPoint Install Process in Our Software Install | jbendiner | MapPoint 2006/2009 Discussion | 1 | 12-30-2004 02:50 PM |
| Embedding Mappoint 2002 Europe into Powerpoint XP | amyles | MapPoint 2006/2009 Discussion | 0 | 05-08-2003 06:17 PM |
| Embedding a map in an Access report | Anonymous | MapPoint 2006/2009 Discussion | 2 | 10-14-2002 11:27 AM |
| 10 Second Tutorial: Embedding With Word | Anonymous | MP2K Magazine Articles | 0 | 07-01-2001 12:48 AM |