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

MapPoint OCX SLOW on close.

This is a discussion on MapPoint OCX SLOW on close. within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, i use mappoint ocx 2006 in some .net 2.0 applications. My usual is to use a form with mappoint ...

  1. #1
    Gianmaria is offline Member Yellow Belt
    Join Date
    Dec 2004
    Posts
    47

    Exclamation MapPoint OCX SLOW on close.

    Hi,
    i use mappoint ocx 2006 in some .net 2.0 applications. My usual is to use a form with mappoint ocx running in.
    When i close the forum i use:

    this.Close()

    and handle the closing event too in this way:

    private void MapForm_FormClosing(object sender, FormClosingEventArgs e)
    {
    this.axMappointControl1.ActiveMap.Saved = true;
    }

    now i find that my application (this is not the main form of my app) is very slow on closing the form.

    There is something i can do to enprove performance when closing?

    Regards,
    Gianmaria

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

    Re: MapPoint OCX SLOW on close.

    Hi GianMaria,

    MapPoint 2006 is slow terminating. It is faster outside the debugger of course. I do my developments with MP2004 registered to not have the slow termination at every test.

  3. #3
    Gianmaria is offline Member Yellow Belt
    Join Date
    Dec 2004
    Posts
    47

    Re: MapPoint OCX SLOW on close.

    Same same for me Wilfried. For all the time i worked with MapPoint2004 the closing and the opening of the mapping is been fast.
    Did you found some workaround for this issue?

    Gianmaria

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

    Re: MapPoint OCX SLOW on close.

    Hi Gianmaria,

    No. I'm sure it is no problem for custormar. Outside debugger it is good. But annoying whilst developping since ofthen you write some lines of code and wants a fast test. VS2005 is even more annoying because you cant start typing in the code before the application is fully terminated.

    So I have 2 batch files. 1 to register MP2004 and 1 to register MP2006. The first one is for development. For rollout I execte the other batch file and rebuild my application. And yes to not let me do a mistake I have a class shared by all MP applications that is also changed with the batch file to do a test if the compiled version match the registered version.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. mapPoint 2006 activex control slow down form closing
    By bule in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 09-26-2006, 02:22 PM
  2. How to properly close mappoint control
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-03-2005, 09:05 AM
  3. Access and MapPoint control _really_ slow
    By dynek in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-07-2005, 12:14 PM
  4. Mappoint has encountered a problem and needs to close
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 05-05-2004, 04:40 PM
  5. Pause MapPoint Display (prevent close)
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 10-29-2002, 06:56 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