Community of VE/MapPoint Users and Developers
This is a discussion on VS2008 b2 + Mappoint 2006 within the Development forums, part of the MapPoint 2006/2009 Discussion category; Anyone know if mappoint 2006 workes with vs2008 b2? I have tried to install the ocx control and when draging ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| MapControl(ocx) is called "mapCtl" code: -------- Map m; try{ m = mapCtl.NewMap(MapPoint.GeoMapRegion.geoMapEurope); } catch(Exception ex){ } Any idears? |
| |||
| Re: VS2008 b2 + Mappoint 2006
Hi, a wrong answer is better than no answer ... right? blind shot ... so just use it as much as its worth I had an similar problem when i tried to use the ctrl without visualising it. So i guess Vs2008 has a problem to add it correct to the form, ergo the ocx isn't fully initialized. (I have 2005) My code: Code: AxMappointControl mpCtrl = new AxMappointControl(); Form.Control.Add(mpCtrl); mpCtrl.EndInit(); mpCtrl.NewMap(MapPoint.GeoMapRegion.geoMapEurope); or the initialization isn't finished. I think it is the second one therefor you will need the EndInit. When you debuged the error, you got into the Ax and (ocx == null) ... throw ... , just from my experience. You can also use your own instance like in the code above. AFAIK |
| |||
| Re: VS2008 b2 + Mappoint 2006
Here link to my problem, there is also the stuff with the wrapper if you need it. MapPoint 2006 with ActiveX |
| |||
| Re: VS2008 b2 + Mappoint 2006
Generell comment, yellow belt ... chappelle clip ... ohhh belt i want to .... on you But why do old posts have the new belt, feels like inconsistent data. "I don't want, none of the above, i want to ..." lalala Great comedy |
| |||
| Re: VS2008 b2 + Mappoint 2006 Quote:
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| Re: VS2008 b2 + Mappoint 2006
tnx, but still no luck. I tried changing the target platform from 3.5 to 2.0. 2.0 is used with vs2005 and mappoint workes on that platform? When runing it with the new settings i get a "ArgumetException" -"MapPoint failed to load. The cause of this failure is unknown." Is there something that i am missing in the settings or is this just a vs2008 problem or am I stupid? ![]() will keep trying. if i have to install vs2005 |
| ||||
| Re: VS2008 b2 + Mappoint 2006
You're using a beta of VS, so I think that must be the prime suspect. (you're also brave, imho!) MP2006 works fine with VS2005 and .NET 2 - I've been doing this as an add-in with C#; and a simple proof-of-concept with VB.Net and the MapPoint control. There's a good walkthrough of how, in Chandu Thota's book (Programming MapPoint .NET I believe it is called - my copy isn't handy) 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 |
| |||
|
ttallskog: You are not going crazy. I have the same issues with the VS 2008 release on 3.5 release on vista, mappoint 2006. I've been programming mappoint since 2004 version and never had any issues with vs 2005. Does ANYBODY on this forum actually program with VS 2008 I've linked this to the thread I have already started AGAIN. I hope programmers at ms see this cause right now, it aint workin! Mappoint 2006, C#, VS 2008, Vista, COM object problems |
![]() |
| ||||
| Posted By | For | Type | Date | |
| Microsoft MapPoint 2006 - MP2K Magazine | This thread | Refback | 08-30-2007 11:23 AM | |
| Tracking P.F. Chang’s in the Midwest - MapPoint Articles - MP2K Magazine | This thread | Refback | 08-28-2007 04:28 PM | |
| Merging Multiple Routes - MapPoint Articles - MP2K Magazine | This thread | Refback | 08-25-2007 05:28 AM | |
| Map Visitors - Powered by Virtual Earth | This thread | Refback | 08-24-2007 01:26 AM | |
| Map Visitors - Powered by Virtual Earth | This thread | Refback | 08-24-2007 01:26 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Difference between MapPoint 2006 and MapPoint 2006 Fleet | jlewis | MapPoint 2006/2009 Discussion | 1 | 11-21-2006 08:18 AM |
| Mappoint 2006 | mhuslig | MapPoint 2006/2009 Discussion | 2 | 10-04-2006 12:22 PM |
| Mappoint 2006 GPS | rt | MapPoint 2006/2009 Discussion | 3 | 07-15-2006 04:07 AM |
| MapPoint 2006 | TFB | MapPoint 2006/2009 Discussion | 3 | 04-25-2006 09:18 AM |
| MapPoint 2006 | Eric Frost | MapPoint 2006/2009 Discussion | 0 | 04-03-2006 08:42 PM |
Cheap Flights to Benidorm
Book cheap flights to Benidorm with Holiday Hypermarket. Whether Summer or Winter Benidorm is a great destination.
Spain Holidays
Find and book Spain Holidays with Travel Counsellors. Holiday destinations around the world including Spain.
Turkey Holidays
Istanbul is Turkey's prime attraction as it has the most beautiful mosques and palaces of the country; it has Byzantine churches and Roman temples. Book Turkey Holidays online.
Dubai Holidays
Dubai holidays provide you with exotic sights, desert safaris and superb cuisine. There is an extensive range of things to do and see!
Cheap Portugal Holidays
Want to know what the best time to book cheap Portugal holidays is? Well have a look on ulookubook.com for some useful information to save your cash. Golf, tennis and cycling are all very popular here.
Travel
Check out the travel options on Travel.co.uk.
Cheap Goa Holidays
Experience the world famous Wednesday Flea Market at Anjuna! Book cheap Goa holidays at On The Beach!