Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 4 of 4

Random not ready errors

This is a discussion on Random not ready errors within the MapPoint Desktop 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 ...

  1. #1
    ToddRCS is offline 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.

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    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

  3. #3
    ToddRCS is offline 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.)

  4. #4
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    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?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Random Link update failed error when doing UpdateLink method
    By stephenmillington in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 11-01-2005, 03:49 AM
  2. Mappoint active x control crashes at random points
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 8
    Last Post: 06-14-2005, 03:53 AM
  3. pushpin sets pick random spot NOT correct address?????
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 08-15-2004, 12:53 AM
  4. Help errors
    By spirido in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-07-2004, 08:30 AM
  5. Mobile Location-Based Services are ready to roll! - Part 2
    By Eric Frost in forum MP2K Magazine Articles
    Replies: 0
    Last Post: 05-15-2003, 12:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83