Community of VE/MapPoint Users and Developers
This is a discussion on I have downloaded the database example where you h.... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have downloaded the database example where you have two addresses in a db and then it calculates and pastes ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| |
| |||
|
To determine cost for a route, you can use the Cost property of the ActiveRoute object. For example: <pre> 'oMap references your current MapPoint Map MsgBox "The cost for this route is " & oMap.ActiveRoute.Cost MsgBox "The distance for this route is " & oMap.ActiveRoute.Distance </pre> To programmatically set the driving options, use the Driver Profile object of the ActiveRoute object. For example: <pre> 'Set the DrivingCostUnits to fixed cost based on distance and use 'DrivingCost to set the cost at $.80 per distance unit objRoute.DriverProfile.DrivingCostUnits = geoCostBasedOnDistance objRoute.DriverProfile.DrivingCost = 1.25 'Cost in dollars per distance unit. Mostly miles. objRoute.Calculate 'recalculate the route </pre> You can get more information by opening MapPoint, going to Help, selecting Visual Basic Reference, and clicking on the ActiveRoute or DriverProfile objects. - Chris Gebhardt |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help installing downloaded Copy of MP NA 2004 | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-10-2004 03:55 PM |
| Sharing a map or a database ? | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-21-2002 05:38 PM |
| Import of Database | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-26-2002 02:05 PM |
| I just downloaded the Tool Spatial data import too.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-30-2001 08:05 AM |
| One more question...I have downloaded the Spatial .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 10-26-2001 11:00 AM |
Cheap Flight to Tenerife
Get a cheap flight to Tenerife and a cheap hotel in Tenerife giving you a great value holiday in Tenerife. Holiday Hypermarket can make it happen.
Travel Counsellors
Travel Counsellors are an award winning Travel Agent. Have a personal Travel Counsellor help with your travel plans.
Holiday Italy
A Holiday in Italy can mean many different things to many different people. This diverse country has an abundance of art, wine, food and stunning beaches. Book online today.
Bahamas Holidays
Bahamas Holidays offer pure blue skies, soft white beaches and the holiday of a lifetime. Visit us for a great deal to the Bahamas.
Cheap Balearics Holidays
Cheap Balearics holidays are available if you know when to book and who to book with. The Balearics have many fascinating places to visit all year round. The partying never stops.
Price comparison sites
Travel.co.uk is the one you are looking for when checking out price comparison sites.
Holidays in Cyprus
Visit the tombs of the island kings! Visit On The Beach for information on holidays in Cyprus.