MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




switching from 04 activex to '06 in .NET

This is a discussion on switching from 04 activex to '06 in .NET within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I'm not sure. I searched the programming help and I could not find anything of this feature in it....


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
  #11 (permalink)  
Old 09-28-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

I'm not sure. I searched the programming help and I could not find anything of this feature in it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12 (permalink)  
Old 09-30-2006
Junior Member
White Belt
 
Join Date: Sep 2006
Posts: 8
Update

Wilfred ...

My 2004 App seems to workly perfectly on my new 2006 client without any changes ... I did NOT install 2006 on my development machine ...

I am programming in VB.NET (VS 2003) ... I reference the 2004 Mappoint Interop dlls but do not register them, and I include the 2004 Mappoint .ocx and .dll in the executable path ... more than 10 forms use the Mappoint Control and the location object is called numerous times ... I always load Mappoint into the control using a template (.ptm) file created in 2004 ...

2006 seems to run a bit slower, but so far has not been a problem ...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13 (permalink)  
Old 10-01-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

That is interesting news
Probably the way around will work also (using MP2006 ocx + dll's on a machine with MP2004 registered) sam way. It is word to test it.

Which *.dll 's do you include in execuable path ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14 (permalink)  
Old 10-01-2006
Junior Member
White Belt
 
Join Date: Sep 2006
Posts: 8
Update

... Interop.MapPoint.dll ... version 1.0.0.0 ...
and
... MapPointControl.ocx ... version 11.0.18.1900 ...

are both placed in the executable path (the same directory as the executable) during installation ...

References in the program are to ...

... AXInterop.MapPoint.dll ... version 1.0.0.0 ...
and
... Interop.Mappoint.dll ... version 1.0.0.0 ...

Setup added as a detected dependency the MappointControl.ocx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15 (permalink)  
Old 10-01-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

Those *.dll's are normal in the exe path, but not the *.ocx of course. I did the test, registered MP2004, did a rebuild, registered MP2006, copy the *.ocx version 2004 into the executable path.

Maybe I forgot something, or maybe it is different in C#. Will try again one of these days.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #16 (permalink)  
Old 10-02-2006
Junior Member
White Belt
 
Join Date: Sep 2006
Posts: 8
Update

I can't imagine that the programming language would make this difference ... I would rather think that the fact that 2006 was never installed on my development machine has something to do with it ...

I have noticed that 2006 has MANY more registry entries that 2004 ...

--Jack
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17 (permalink)  
Old 10-02-2006
Junior Member
White Belt
 
Join Date: Aug 2006
Posts: 1
Hey guys,

I seem to be having the same problem, where I have recently upgraded from MP2004 to MP2006. Currently I have both installed on my dev computer and wish to compile my application for one or the other versions with as little code changing as possible.

Wilfried: How are you referencing MapPoint in your application, when using the batch file? I've tried a different method where you dig into the .vbproj file and edit the references from there, but learned that the GUIDs for each library are stored there. So even though you register the desired version of MP, how does that change the references within VS to the correct library?

Thanks in advance!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #18 (permalink)  
Old 10-03-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Hi,

I had to search for that because by default VS copy it all in the project folder. I almost discoverd it by accident how to do

If you right click the project, then 'Add' then 'Existing item', after selecting it dont click OK, but near the button is a little arrow. Clicking it brings up a popup menu and you can click 'Add as link'. Then it is not copied and the version class can be used by all projects.

Maybe there are other approach as well. Maybe I need to RTFM
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
activex, net, switching


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
New to MP/using activeX lucci56 MapPoint 2006/2009 Discussion 3 07-16-2006 04:42 PM
Switching from Staging to Production Jeff Smith MapPoint Web Service and Virtual Earth 1 03-29-2005 09:06 AM
switching from 2004 to 2002 Wilfried MapPoint 2006/2009 Discussion 0 02-17-2005 03:19 AM
Switching place names off Winwaed MapPoint 2006/2009 Discussion 3 08-17-2004 12:28 PM
WebForms - switching between Anonymous MapPoint 2006/2009 Discussion 0 03-26-2004 07:54 AM


All times are GMT -5. The time now is 12:12 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 55