MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




CloseMap is slow

This is a discussion on CloseMap is slow within the Development forums, part of the MapPoint 2006/2009 Discussion category; I am using MapPoint 2006 and when I call CloseMap it takes 4 to 12 seconds. I have heard on ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 10-10-2007
Junior Member
White Belt
 
Join Date: Oct 2007
Posts: 3
CloseMap is slow

I am using MapPoint 2006 and when I call CloseMap it takes 4 to 12 seconds. I have heard on this forum that it was a known problem and that there was no patch at that time. Have things changed? Is there a solution to this problem?

Thanks,

Greg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 10-10-2007
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,304
Blog Entries: 1
Re: CloseMap is slow

I haven't heard of a patch. I wonder if it's possible to kill the exe and suppress any messages such as that an application crashed and it wants to send Microsoft your passwords. ?
Eric
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 10-16-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: CloseMap is slow

Hi,

Also be sure in your custom program that you destroy each object you create. I don't mean the objects that mappoint create because they don't have a destructor, but the other ones. Even in dotNet where some people say that the garbage collector does it all it is very necessary, that can be the reason of slow terminating of your application.

what also could do a lot (but I never tryed it), is before you close the map, first delete all datasets and all shapes and so on the map. Probably closing go mutch faster.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 10-19-2007
Junior Member
White Belt
 
Join Date: Oct 2007
Posts: 3
Re: CloseMap is slow

Thanks for all responses. More are welcome

Winfred,

I could call the ClearAll function before closing. I will do some tests and see if this adds speed. Is this what you meant?

Thanks,
Greg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 10-23-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: CloseMap is slow

Hi,

Not aware of a ClearAll function in mappoint, but you need to destroy each object you create once you dont need it anymore
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


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/closemap-slow-6518.html

Posted By For Type Date
The Magazine for MapPoint - MP2K Magazine This thread Refback 10-16-2007 09:43 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
MP2006 - C# - Very SLOW closing map pcfountain Development 1 05-22-2007 11:44 AM
SLOW Reverse Geocoding itay MapPoint 2006/2009 Discussion 1 08-07-2006 09:28 PM
Shapes.AddPolyline is very slow tdaffin MapPoint 2006/2009 Discussion 4 01-27-2006 07:08 AM
VB .NET is so slow! Anonymous MapPoint 2006/2009 Discussion 2 07-28-2004 03:17 AM
moving through recordset is slow stephenmillington MapPoint 2006/2009 Discussion 0 07-07-2004 05:28 AM


All times are GMT -5. The time now is 05:51 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

Jersey Flights
Holiday Hypermarket should be your first choice for cheap flights. Book flights to exotic destinations or even just to Jersey.

Cruise Travel Agent
Book your cruise with Travel Counsellors. We are an award winning travel agent and can help plan your perfect cruise.

Turkey Holidays
Istanbul is Turkey's prime attraction as it has the most beautiful mosques and palaces of the country; it has Byzantine churches and Roman temples. Book Turkey Holidays online.

St Lucia Holidays
St Lucia holidays offer something for everyone. Enjoyed by families and young couples alike, St Lucia is a great destination. See online!

Canaries
Find out all about the Canaries when you check out the ulookubook.com travel guides. Not only can you get a great holiday deal but you can find out useful information about potential holiday destinations.

Package Holidays
With the help of Travel.co.uk you can find the package holidays of your dreams.

Cheap holidays in Cyprus
Stunning coastline! Beautiful beaches! Cheap holidays in Cyprus, available 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