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

MP2004 and VB.NET pan bug

This is a discussion on MP2004 and VB.NET pan bug within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am having an issue. Whenever I have a shape selected and I try to pan any direction, the program ...

  1. #1
    mcpastore is offline Junior Member White Belt
    Join Date
    Aug 2006
    Posts
    2

    MP2004 and VB.NET pan bug

    I am having an issue. Whenever I have a shape selected and I try to pan any direction, the program freezes and it continues to pan in that direction infinitely until I kill the program manually. Any idea what may be causing this? The code is extremely long and the functions are deep, but am pretty sure it has something to do with the AfterRedraw function. Any ideas on what I should check?

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    Possible you have somewhere a reentrance problem. Check all events of the control, eventually put some loginformation in it to see where the recursive begins.

  3. #3
    mcpastore is offline Junior Member White Belt
    Join Date
    Aug 2006
    Posts
    2
    What do you mean by a reentrance problem?

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    Sorry my English is not my mother's tongue. I mean that you call a method, that fires an event from mappoint control. The event makes the call or similar call again and so is in a circle.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. MP2004 and terminal services
    By SeanB in forum MapPoint Desktop Discussion
    Replies: 5
    Last Post: 10-16-2006, 12:16 PM
  2. MP2004 - XYToLocation
    By AndyWood in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-05-2006, 11:13 AM
  3. Using MP2004 with Delphi
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 13
    Last Post: 03-02-2005, 08:50 AM
  4. Using S&T 2005 maps in MP2004
    By Fleet in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-18-2004, 01:54 PM
  5. voice commands in MP2004
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 03-28-2004, 06:33 AM

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