Community of VE/MapPoint Users and Developers
This is a discussion on AxMappointCtrl vs. MappointCtrl? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello my friends, What's the difference between AxMappointCtrl and MappointCtrl in C#? I wrote a Mappoint application in VC++, but ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| AxMappointCtrl vs. MappointCtrl? What's the difference between AxMappointCtrl and MappointCtrl in C#? I wrote a Mappoint application in VC++, but due of lack of support by Microsoft, I decided to write a new mappoint application in VC#. There are some small differences to change, but is doable. So I hope someone can explain me the difference, because I need to write a seperate class which handles all the mappoint processing. By the way, I'm a C# beginner, so that's why such a simple question. Thank you very much. Last edited by VC_Man; 07-03-2007 at 10:56 AM. |
| |||
| Re: AxMappointCtrl vs. MappointCtrl?
Hi, axMappointControl is the activeX component. MappointControl is an interface, not sure it can be direct used.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: AxMappointCtrl vs. MappointCtrl?
Hi again If you need a separate class that do all the mappoint processing then you can create the axMappointControl component in that class. Also you can use the object model of Mappoint, but you cannot use both of them in same application in C#.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: AxMappointCtrl vs. MappointCtrl?
Hoi Wilfriend my old friend Thank you for your answer. I found out that when I import mappoint in my project, I than can put a Mappoint Control on my Dialogbox which displays the map. I gave it a name e.g. MapCtrl. If I look where MapCtrl is instantiated, I found out that it's an object of AxMapPoint.MappointControl. And than I use MapPoint.Map class to declare a Map object. So the way I see, is AxMapPoint is like you said some kind of interface to work with the map! And AxMapPoint.MappointControl object has methods which can give you an object of type MapPoint.Map for example. Because AxMapPoint.MappointControl has a method NewMap(...), which returns a MapPoint.Map object.... Ok I get it. Now I can see the analogy with Visual C++. Thank you! |
![]() |
| Tags |
| axmappointctrl, mappointctrl |
| ||||
| Posted By | For | Type | Date | |
| Using MapPoint and Excel for Supply Chain Management - MapPoint Articles - MP2K Magazine | This thread | Refback | 07-05-2007 10:35 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |