Community of VE/MapPoint Users and Developers
This is a discussion on Mappoint error within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am using VB.NET with MapPoint 2006 or Mappoint 2004 ActiveX Control. With MapPoint 2004 when I change the pushpin ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Mappoint error With MapPoint 2004 when I change the pushpin BallonState property and the Map is at max zoom level, some pushpin remain without label. Instead, with MapPoint 2006 and Map at max zoom level, DataSet "MoveTo" method sometimes return "False". This is not an application error infact if I modify code from: Code: 'Load pushpin objPin = AxMpControl.ActiveMap.AddPushpin(objNewLoc, Contatto.Apparato.IdApparato) 'Move pushpin in my "ContattiPinSet" Dataset objPin.MoveTo(ContattiPinSet) Code: 'Load pushpin objPin = AxMpControl.ActiveMap.AddPushpin(objNewLoc, Contatto.Apparato.IdApparato) 'Move pushpin in my "ContattiPinSet" Dataset if objPin.MoveTo(ContattiPinSet) = false then objPin.MoveTo(ContattiPinSet) Anyone have the same error? Thanks Matteo |
| |||
| Re: Mappoint error
I've seen this error a couple times. Seems like the MoveTo method requires that the pushpin object be fully-drawn before it can be moved to the destination dataset. Probably attributable to an underlying threading issue. I didn't find a fix for it, but simply moved the MoveTo method to a different subroutine which was called a moment later. HTH Paul |
| |||
| Re: Mappoint error
Thanks for reply Paul. I found another "MoveTo" method error. Sometimes this metod return "True" and Puship Parent become "ContattiPinSet" Dataset but puship remain in "Symbol" Dataset infact "AxMpControl.ActiveMap.Datasets(1).RecordCount = 1". I'm waiting for MapPoint 2006 SP1 Thanks Matteo |
![]() |
| Tags |
| error, mappoint |
| ||||
| Posted By | For | Type | Date | |
| Working With Excel and MapPoint - MP2K Magazine | This thread | Refback | 03-29-2007 06:21 AM | |
| MapPoint Gets New General Manager - MapPoint News - MP2K Magazine | This thread | Refback | 03-29-2007 02:43 AM | |
| An API to Control MapPoint 2006 GPS Features - Part I of II - MapPoint Articles - MP2K Magazine | This thread | Refback | 03-27-2007 10:44 AM | |
| Using MapPoint 2001 from C++ - the 'FindAddress' Problem - MapPoint Articles - MP2K Magazine | This thread | Refback | 03-27-2007 10:43 AM | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 03-27-2007 10:10 AM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Run-time error 2147467259 80004005 automation error | ThomasB | MapPoint 2006/2009 Discussion | 2 | 02-27-2007 12:41 PM |
| Mappoint Error | Mudrover | MapPoint 2006/2009 Discussion | 5 | 01-20-2005 03:59 PM |
| About ERROR 4-40028-1. Error or Bug ? | Anonymous | MapPoint 2006/2009 Discussion | 12 | 01-11-2005 10:32 AM |
| Mappoint OCX error | ljk25 | MapPoint 2006/2009 Discussion | 0 | 06-29-2004 04:25 AM |
| Help!! Error running mappoint | gag | MapPoint 2006/2009 Discussion | 1 | 01-27-2004 11:45 PM |