MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




AxMappointCtrl vs. MappointCtrl?

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


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 07-03-2007
Member
Green Belt
 
Join Date: Nov 2006
Posts: 87
AxMappointCtrl vs. MappointCtrl?

Hello my friends,

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 07-04-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Re: AxMappointCtrl vs. MappointCtrl?

Hi,

axMappointControl is the activeX component. MappointControl is an interface, not sure it can be direct used.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-04-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
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#.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 07-05-2007
Member
Green Belt
 
Join Date: Nov 2006
Posts: 87
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
axmappointctrl, mappointctrl


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/axmappointctrl-vs-mappointctrl-6025.html

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 04:13 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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