MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Ver Problem with VBA/Excell/MapPoint? -- No Dialog Desired

This is a discussion on Ver Problem with VBA/Excell/MapPoint? -- No Dialog Desired within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; See code below: Whenever I do anything like add/delete or whatever I keep geting the dialog that asks if I ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-13-2005
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Ver Problem with VBA/Excell/MapPoint? -- No Dialog Desired

See code below:

Whenever I do anything like add/delete or whatever I keep geting the dialog that asks if I want to save changes to the map. Why?

Using MapPoint 2004
Excel 2002 (10.4302.4219)SP2
Microsoft Windows XP Professional-
Version 5.1.2600 Service Pack 2 Build 2600

Stumped,
Doug






Public Function MPRouteDist(iMPType As Integer, ParamArray WPoints())

Application.Volatile False
Dim objApp As New MapPoint.Application
Set objMap = objApp.ActiveMap

With objMap.ActiveRoute
For Each wpoint In WPoints
.Waypoints.Add objMap.FindResults(wpoint).Item(1)
Next
.Waypoints.Item(1).SegmentPreferences = iMPType
.Calculate
MPRouteDist = Application.Round(CStr(.Distance), 2)
objMap.Saved = True
objApp.ActiveMap.Saved = True
End With
objMap.Saved = True
objApp.ActiveMap.Saved = True
End Function
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


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
Re: toolbars in mfc dialog djcapslock MapPoint 2006/2009 Discussion 2 06-04-2005 05:39 AM
need help with joing dbf excell file to shapefile Anonymous MapPoint 2006/2009 Discussion 0 01-26-2005 12:18 PM
Disable MapPoint Help in MFC VC++ dialog based application Anonymous MapPoint 2006/2009 Discussion 0 08-04-2004 09:09 AM
mapbasic dialog Anonymous MapPoint 2006/2009 Discussion 0 06-28-2004 07:50 AM
Anyone who build a Print-Dialog for Mappoint-Control? Syd MapPoint 2006/2009 Discussion 1 12-18-2003 07:22 AM


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

Flight Deals
Book a holiday bargain online. Check out the latest fantastic flight deals. Holiday Hypermarket works with the leading Tour Operators to find the best flight deals available.

Flights to Turkey
Find cheap flights to Turkey on Travel Counsellors. A personal Travel Counsellor can help you plan flights and find accommodation in Turkey.

Holidays Cuba
When you book holidays in Cuba you will find a fascinating country with a heady combination of Spanish, African and Caribbean influences. Check our great deals.

Maldives Holidays
If you are looking for a serene, laid back break in the sunshine, Maldives holidays are the choice for you. Be enchanted by the Maldives!

Holiday
Searching for the perfect holiday? Well check out ULookUBook online to find out all about your destination and also to book a great value holiday.

Travel Tickets
Travel tickets need not always be expensive. Check out your best travel comparison site, Travel.co.uk

Cheap Cyprus Holidays
Rejuvenate mind and body! Visit the Mediterranean! Cheap Cyprus holidays can be viewed 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