MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Random not ready errors

This is a discussion on Random not ready errors within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am using the MapPoint 2002 ActiveX control in a Microsoft Access 2000 application using VBA. I am having a ...


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
  #1 (permalink)  
Old 11-14-2002
Junior Member
White Belt
 
Join Date: Nov 2002
Posts: 4
Random not ready errors

I am using the MapPoint 2002 ActiveX control in a Microsoft Access 2000 application using VBA. I am having a problem getting runtime errors randomly in parts of the code that reference a MapPoint object or function. The error says that the object or function is not available. It seems that the map is not ready to perform the requested function or that an object that should be there is not at the time it is referenced.

Has anyone experienced a similar problem with MapPoint. Any suggestions as to a solution to eliminate these errors would be appreciated. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 11-14-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Based on your statment "seems that the map is not ready to perform the requested function" maybe you can test the ReadyState before you execute the code that is giving you the error?

if MappointControl1.ReadyState = READYSTATE_COMPLETE then
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 11-14-2002
Junior Member
White Belt
 
Join Date: Nov 2002
Posts: 4
Thanks for the suggestion, John.

I tried this solution already. It greatly reduced the occurrences of the errors, however, once in a while the error still happened.

(Recently I removed this check of the ready state to try and repeat the errors more frequently, and now I can't get it to repeat any of the errors at all. Not sure if this is good or not.)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 11-14-2002
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Is there or was there some process that is using alot of CPU time or causing alot of disk access?

You might have to deal with that to allow mappoint enough resources to work right?
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
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
errors, random, ready


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
Random Link update failed error when doing UpdateLink method stephenmillington MapPoint 2006/2009 Discussion 4 11-01-2005 04:49 AM
Mappoint active x control crashes at random points Anonymous MapPoint 2006/2009 Discussion 8 06-14-2005 04:53 AM
pushpin sets pick random spot NOT correct address????? Anonymous MapPoint 2006/2009 Discussion 0 08-15-2004 01:53 AM
Help errors spirido MapPoint 2006/2009 Discussion 2 05-07-2004 09:30 AM
Mobile Location-Based Services are ready to roll! - Part 2 Eric Frost MP2K Magazine Articles 0 05-15-2003 01:11 PM


All times are GMT -5. The time now is 10:01 PM.


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