Community of VE/MapPoint Users and Developers
This is a discussion on Mappoint active x control crashes at random points within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; hi, we have an application that uses the mappoint active X control.. the customer uses it quite alot, however around ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Mappoint active x control crashes at random points we have an application that uses the mappoint active X control.. the customer uses it quite alot, however around 10 times aday when they bring up the form that is supposed to hold the mappoint control you just get a blank form and the app crashes.. i have logged my way through the code and it finds the locations ok and everything and its just when the form is shown (modaly) it will crash.. it doesn't do this all the time.. perhaps 10% of the time.. what they get is a form with nothing in it.. just a white (or black) square.. then our support team has to go in and kill the mappoint process and our app.. its running in a terminal server enviroment.. with 3 users.. 2 light users and one more heavy users.. please anybody, any thoughts.. this is becoming a real problem.. to the point where we might have to ditch mappoint and use another product.. fyi we are using vb6 and mappoint 2004 thanks chris |
| |||
|
Hi Chris, You have probably an unhandled exception error, an overridden pointer, a stack problem or a closed object where the pointer is still holding a value. First of all try to find out if it has something to do with terminal server. There are many post here about this, but I dont know if hat can cause problems. Second step is to log all errors that can occuur, put your code into exception blocks and log all esceptions. Then you come closer to the poijnt. It is probably a very minor thing but without debugging nobody can find it ...
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi, i am writting out to a log file every line of code that gets executed.. and when the code enters an on error resume next it prints out the err.description after every statement (only a couple).. not particular errors.. still just crashs randomly.. doesn't crash on any line of code.. just when the form is shown.. any more thoughts i have looked at termainl server compatability flags and have had no luck.. thanks chris |
| |||
|
I've found that MapPoint crashes randomly when I do some large batch process. For example, if I try to create drive-time polygons and export the drivetime coordinates (lat/long) to a file, the program will crash at different times (batch size of greater than 20,000 pts). |
| |||
|
Hi Chris, Quote:
Quote:
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
hi, still getting this problem.. sometimes the form comes up with nothing in it.. i.e. its found the address and added the pushpin ok.. but when the form is shown it doesn't come up with the map.. other times it comes up with the basic map in the correct location but then freezes and doesn't draw the road names/pushpins..etc this is getting a real problem.. any cluse people? thanks chris |
| |||
|
Hi Chris, I have no idea and never had that problems. Maybe this is a hint: Often while developping I interrupt the debugger, or I have exception errors (who doesnt Can you check in task manager, when you have that problem, how many instances of mappoint are running ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
hi, i thought it might of been this.. however there aren't any other mappoint processes running when it crashs.. we are running on a terminal server and i've tried giving each user there own database which doesn't make any difference.. rgds chris |
| |||
|
Hi Chris, Did you also try same application not on terminal server ? Regulary terminal server issues are poping up here, but I dont recall feedbacks on what solutions of problems where... _if_ it has something to do whit terminal server of course...
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| active, control, crashes, mappoint, points, random |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem instantiating MP Active X control in a VB and VC++ | Brent | MapPoint 2006/2009 Discussion | 2 | 05-10-2006 01:25 PM |
| MapPoint 2004 Active-X control: how to "bump" pus | citrix_99301 | MapPoint 2006/2009 Discussion | 3 | 03-18-2006 03:50 AM |
| How to use the mappoint 1.0 active x control from C# ? | Anonymous | MapPoint 2006/2009 Discussion | 0 | 01-22-2004 07:02 AM |
| Control Crashes - Help !!! | dougw | MapPoint 2006/2009 Discussion | 1 | 04-10-2003 09:29 AM |
| MapPoint crashes computer at run | Anonymous | MapPoint 2006/2009 Discussion | 2 | 01-19-2003 07:35 PM |