Community of VE/MapPoint Users and Developers
This is a discussion on How to close MapPoint applications correctly? within the MapPoint 2006/2009 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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| 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
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| 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 |
| |||
| 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.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| applications, close, correctly, mappoint |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MapPoint OCX SLOW on close. | Gianmaria | MapPoint 2006/2009 Discussion | 3 | 01-31-2007 12:32 PM |
| How to properly close mappoint control | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-03-2005 08:05 AM |
| Mappoint has encountered a problem and needs to close | Anonymous | MapPoint 2006/2009 Discussion | 4 | 05-05-2004 03:40 PM |
| Correctly Mapping NMEA Data | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-18-2004 01:28 PM |
| Pause MapPoint Display (prevent close) | Anonymous | MapPoint 2006/2009 Discussion | 0 | 10-29-2002 05:56 PM |
Andorra Ski Holidays
Andorra ski holidays offer tax-free shopping and a range of great après-ski activities when you have finished on the slopes. Book online today.
European City Breaks
Find European City Breaks on Travel Counsellors. Based on holidays booked this year, these are the most popular City Breaks for 2006
Portugal Holidays
Lisbon is perhaps Europe's most pleasant and affordable city. Check out the fantastic architecture, delicious seafood and non-stop night-life. Book Portugal Holidays with us.
All Inclusive Maldives
Visit The Holiday Place.co.uk for great deals on all inclusive holidays to the Maldives. Book a holiday to the outstandingly beautiful Maldives.
Cyprus
Before visiting Cyprus, make sure you are well informed to make the most of your holiday. Online at ulookubook.com you check out our useful travel guides. Find out all about the Cyprus nightlife, shopping, eating and customs.
Air Travel
Interested in air travel? Search and compare millions of holidays, flights and hotels with our help at Travel.co.uk
Holidays to Sharm el Sheikh
Want to visit the Sinai peninsula? We can help. Info on holidays to Sharm el Sheikh, only at On The Beach.