MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




OCX and mappoint upgrades

This is a discussion on OCX and mappoint upgrades within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, Something I'm thinking about before it is too late. I have a lots of applications in Delphi using the ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 01-26-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
OCX and mappoint upgrades

Hi,

Something I'm thinking about before it is too late. I have a lots of applications in Delphi using the object model, started with MP 2002. There was not any problem upgrading mappoint.

However I came into the temptation to use C# and the ActiveX control of mappoint (2004). What will happens if mappoint 2006 comes out ? Will the compiled programs work with both versions ?

I'm a little afraid it will not and I hope I'm very wrong with this assumption. It is impossible to make separate project for different versions of mappoint because of maintenance.

How do you solve this ?
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 01-26-2006
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 892
Blog Entries: 9
I think you should be okay. The object models for MP 2002 and 2004 are virtually the same. 2004 only added a couple of methods iirc.

I avoid those methods, which allows my programs to work with both if I don't explicitly give the version number. Try it!


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
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 01-26-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi Richard,

Thanks for reply. But I did probably not phrase my question good. You are telling me that object model is compatible between versions, but does this means that using the ActiveX component is not ?

Because if it is not I have to review the applications in C# using the component and change it to the object model. Is that right ?
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 01-26-2006
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 892
Blog Entries: 9
I think we have a terminology problem here!

I see the ActiveX component as a subset of the object model. When you use it, you also use a small number of objects which are only used with ActiveX (and not in an add-in such as MileCharter, or a "stand alone" such as GridImp). However, I'm using the term "object model" to refer to the full group of COM objects.

I think you should be able to just change or remove the version number. Try it!

Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 01-27-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,112
Hi Richard,

Understood Thanks ..
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
mappoint, ocx, upgrades


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

Similar Threads

Thread Thread Starter Forum Replies Last Post
Upgrades Dstewart MapPoint 2006/2009 Discussion 1 05-15-2003 02:20 PM
Where can I get information or program upgrades to.... Anonymous MapPoint 2006/2009 Discussion 1 09-11-2001 04:00 PM


All times are GMT -5. The time now is 12:37 PM.


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