MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




MapPoint OCX SLOW on close.

This is a discussion on MapPoint OCX SLOW on close. within the MapPoint 2006/2009 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 ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  3 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 01-30-2007
Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 44
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
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 01-31-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,017
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.
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 01-31-2007
Member
Yellow Belt
 
Join Date: Dec 2004
Posts: 44
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
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 01-31-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,017
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.
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/mappoint-ocx-slow-close-5628.html

Posted By For Type Date
MapPoint Articles - MP2K Magazine This thread Refback 02-06-2007 10:10 PM
Determing the Time Zone in MapPoint - MapPoint Articles - MP2K Magazine This thread Refback 02-01-2007 02:10 PM
MapPoint: Javascript help with Mappoint 2006 This thread Refback 01-30-2007 03:28 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 2006 activex control slow down form closing bule MapPoint 2006/2009 Discussion 1 09-26-2006 01:22 PM
How to properly close mappoint control Anonymous MapPoint 2006/2009 Discussion 1 03-03-2005 08:05 AM
Access and MapPoint control _really_ slow dynek MapPoint 2006/2009 Discussion 2 01-07-2005 11:14 AM
Mappoint has encountered a problem and needs to close Anonymous MapPoint 2006/2009 Discussion 4 05-05-2004 03:40 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 01:13 PM.


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

Cheap Flights Paphos
Have a fantastic holiday in Paphos. Enjoy the lively seafront atmosphere and the picturesque mediaeval port. Book cheap flights online at Holiday Hypermarket.

Italy Holidays
Find and book Italy Holidays with Travel Counsellors. Holiday destinations around the world including Italy.

Holiday in Turkey
A Holiday in Turkey is great value when you book with dealchecker.co.uk. There is an abundance of things to see and do. Check out the well-preserved Greco-Roman ruins.

Holidays in Egypt
A holiday in Egypt will stimulate your mind, captivate your heart and spark your senses. Visit this exceptional country, book today!

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.

All inclusive holiday
Travel.co.uk is a travel comparison service which makes it easy to search and find your all inclusive holiday.

Holidays in Goa
Want to know more about Indian culture? Visit On The Beach for information on holidays in Goa.


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