Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Embedding MapPoint app into a WinForm? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Does anyone know how to embed the MapPoint app into a WinForm? C# reply is most helpful. Thanks....
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
|
Hi, There is a component: mappointcontrol.ocx that you can import in the IDE. Then you can just drop it on a winform and you are started..
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| |||
| Re: component refrence
Hi, Quote:
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| background info
Hi Wilfried, I'm new to MapPoint, so please excuse me if I mangle the references. I'm trying to determine the smoothest development path, whether it makes the most sense to embed a MapPoint component into a form, described in previous post, or to just reference the application through the object model (I beleive is the correct term). I want to build an application to make use of all the MapPoint capacity, but I want complete control of how the user interacts with it. As for my background, I am a software architect, 17 years experience building systems, BS CMPS, 3 years using C# and .NET framework, blah, blah, blah. |
| |||
|
Hi, Ok I was not sure of all that. Also my primary language is not english so difficult to read 'beween the lines'. so the answer to your question is, yes you drop a mappoint component on your winform in C# and start with it in 5 minute. However to have all mappoint.exe things in your app;lication you have to code all these thins. Most of them are simple. So the component display the map, has a lots of events and properties but is NOT a mappoint.exe applicatoin withc is good of course.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
In C# it's easy. Open the Toolbox in the forms designer. Right-click the toolbox and select Add/Remove Items. Go to COM components, and select the MapPoint ActiveX control. Then it will generate a wrapper for you, and add Mappoint to the toolbox. |
![]() |
| Tags |
| app, embedding, mappoint, winform |
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 Install Process in Our Software Install | jbendiner | MapPoint 2006/2009 Discussion | 1 | 12-30-2004 01:50 PM |
| Embedding MP within BorlandC++Builder5 | mccheese | MapPoint 2006/2009 Discussion | 1 | 05-27-2004 07:01 AM |
| Embedding Mappoint 2002 Europe into Powerpoint XP | amyles | MapPoint 2006/2009 Discussion | 0 | 05-08-2003 05:17 PM |
| Embedding a map in an Access report | Anonymous | MapPoint 2006/2009 Discussion | 2 | 10-14-2002 10:27 AM |
| 10 Second Tutorial: Embedding With Word | Anonymous | MP2K Magazine Articles | 0 | 06-30-2001 11:48 PM |
Dalaman Holiday
Enjoy a wonderfully peaceful Dalaman holiday... Book through UlookUbook and save!