MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Calculate route

This is a discussion on Calculate route within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have the following code that imports and maps an access database. All I need at this stage is to ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 07-03-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Calculate route

I have the following code that imports and maps an access database.
All I need at this stage is to create a route between all the records. I am new to VB and MPP and know I need waypoints.
Any assistance is greatly appreciated.

Code:
Private Sub Form_Load()

Dim objApp As New MapPoint.Application
Dim szconn As String
Dim oDS As MapPoint.DataSet
Dim num As Integer

objApp.Visible = True
objApp.UserControl = True

Me.Hide

With objApp.ActiveMap.DataSets
   szconn = "C:\Jobs\MappointDEV\Eden\Mapp_routes.mdb!R101_D1_F4"
    Set oDS = .ImportData(szconn, , geoCountryFrance, , geoImportAccessTable)
End With

oDS.ZoomTo

End Sub
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
calculate, route


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
Calculate route Anonymous MapPoint 2006/2009 Discussion 4 03-16-2005 01:42 PM
Calculate driven route accurate Anonymous MapPoint 2006/2009 Discussion 2 12-15-2003 02:33 PM
How do I calculate a route distance without displaying route spideybud MapPoint 2006/2009 Discussion 4 09-09-2003 11:14 AM
Optimize and calculate a Route rms62 MapPoint 2006/2009 Discussion 2 08-22-2003 03:55 PM
add two waypoints and calculate route with Delphi jmiller55 MapPoint 2006/2009 Discussion 4 06-24-2003 03:08 PM


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


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 53 54