Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on When I call and open up MapPoint from VB as a sepa.... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; When I call and open up MapPoint from VB as a separate application and render a map, I occasionally get ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| |
| |||
|
You should add the following two lines of code to your Form_Load: App.OleRequestPendingTimeout = 10 * 5000 App.OleServerBusyTimeout = 10 * 10000 This first line returns/sets the number of milliseconds automation requests will run before user actions trigger a 'busy' message. The second line returns/sets the number of milliseconds during which an automation request will continue to be retried. Slower machines get caught in the cross-process messaging between the control and the MapPoint engine that is running in a separate process. Adjusting this timeout parameter should have no bad side effects and just allows for normal inter-process messages to have time to complete in the background. You could play with the setting up or down but I picked 10 (equals 100 seconds) as a safe number. |
![]() |
| Tags |
| call, mappoint, open, sepa |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to open MapPoint 2004 | carlos_pr21 | MapPoint 2006/2009 Discussion | 1 | 03-28-2006 01:08 PM |
| Mappoint exception "Call was rejected by callee" | jliao81 | MapPoint 2006/2009 Discussion | 1 | 06-03-2005 07:53 AM |
| Help Please.....Mappoint VB6 Save Map/ Open Map / Pushpins | questphil | MapPoint 2006/2009 Discussion | 0 | 11-15-2004 10:16 AM |
| NullPointerException for getting Call Object | Anonymous | MapPoint 2006/2009 Discussion | 0 | 04-26-2004 02:20 AM |
| How to call add-in from vb | Anonymous | MapPoint 2006/2009 Discussion | 0 | 12-23-2003 01:56 AM |
Antalya Holiday
Check out the Antalya holiday options through UlookUbook and find amazing offers that suit your pocket...