MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to close MapPoint applications correctly?

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (9) Thread Tools Display Modes
  #11 (permalink)  
Old 05-24-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12 (permalink)  
Old 05-30-2007
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13 (permalink)  
Old 05-30-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,105
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
applications, close, correctly, mappoint


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/how-close-mappoint-applications-correctly-5879.html

Posted By For Type Date
Extending the MapPoint ActiveX Control - Pt. I - MapPoint Articles - MP2K Magazine This thread Refback 05-22-2007 08:55 AM
A More Compact Method for Obtaining Lat/Long - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:40 PM
Improving On The MapPoint Geocoding Algorithm - Pt. I - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:40 PM
Creating a Grid Over Iraq In MapPoint - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:40 PM
Programming MapPoint with the .NET Framework, Delphi examples, MapPoint .NET, MDB Circus - MP2K Update Archives - MP2K Magazine This thread Refback 05-14-2007 01:40 PM
Using MapPoint In Delphi - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:33 PM
Snap to a Road - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:24 PM
Delphi Address Verifier - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:22 PM
Using MapPoint In Delphi - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:20 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 04:17 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

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.


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