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
Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

How to close MapPoint applications correctly?

This is a discussion on How to close MapPoint applications correctly? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, I just did try your demo application using Delphi 7. Indeed you have 2 MapPoint instances so that's the ...

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

    Re: How to close MapPoint applications correctly?

    Hi,

    I just did try your demo application using Delphi 7. Indeed you have 2 MapPoint instances so that's the reason of view. However I have no idea wy the saveAs not works on the mappoint class.

    I just tryed on an older application using a own made component for MapPoint (using Delphi 5) and the SaveAs do not work there also.

    Do you really need the SaveAs ? Maybe it is better to save lat/long/alt of the map, including all pushpins etc and reload at next run ? Just a tought as I'm a little out of idea at the moment

  2. #12
    doMapPoint is offline Junior Member Yellow Belt
    Join Date
    May 2007
    Location
    Germany
    Posts
    13

    Re: How to close MapPoint applications correctly?

    Hi Wilfried,

    thanks for your replies. You're right, I've seen in Task Manager two instances of Mappoint.exe.

    To your last reply: I need SaveAs, because I want to give a .ptm file to other people that they can open it in their mappoint, so I would be glad if there was a solution to this problem.

    But I have read in the MapPoint Help that the SaveAs isn't availible for embedded Maps and the MapPoint control. (From the German help: "Nicht verfügbar für eingebettete Karten und das MapPoint-Steuerelement.").
    Does that indicate my problem? Do I have an embedded map?

    Best wishes
    Dietmar

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

    Re: How to close MapPoint applications correctly?

    Hi,

    Aha that explains wy it does not work. Yes you have an embedded map because you embed it into an ole container.

    But as always there are workarounds. I have not the time to try this at the moment (sorry for that), but I think it is simple:

    When you want to use the saveAs then you open a second MP instance (like you do now, eg with the component). Then put all in there like pushpins, zoom level etc and save it. then close it. Does this short explanation makee sence ?

    I mean use the embedded map for view in your application, and use the second instance for the saveAs. Of course you will consume some more RAM.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. MapPoint OCX SLOW on close.
    By Gianmaria in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 01-31-2007, 01:32 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. 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
  4. Correctly Mapping NMEA Data
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-18-2004, 02:28 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