MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




I am trying my hand on Mappoint . I am trying to p....

This is a discussion on I am trying my hand on Mappoint . I am trying to p.... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am trying my hand on Mappoint . I am trying to plot the routes on the map . but ...


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

Today's Posts Twitter Feed 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 08-01-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I am trying my hand on Mappoint . I am trying to plot the routes on the map . but if there are 5 to 6 points it takes a long time to plot and i get a msgbox showing Server busy with three command buttons retry sitch to and cancel but clicking on any one of them shows no effect
Plz if yu have any solution do come out
thanks in advance
nirmal
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 08-01-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Without seeing your code it would be hard to see what is wrong. However, for a test, start a new VB project and add the Mappoint ActiveX Control. Add a command Button and put this code in. I added the form_Load below also to get a map loaded for you. Manually add a bunch of pushpins. I ran a test with about 15 pushpins and did not get the server busy error.(I usuall see that error when there is code in the mouse events) Hopefully this will help you narrow the problem down?



Private Sub Form_Load()

Set objMap = MappointControl1.NewMap(geoMapNorthAmerica)

MappointControl1.Toolbars("Drawing").Visible = True

End Sub




Dim objDataSet As MapPointctl.DataSet

Dim objRecordset As MapPointctl.Recordset

Dim objMap As MapPointctl.Map

Dim objRoute As MapPointctl.Route

Set objMap = MappointControl1.ActiveMap

Set objRoute = objMap.ActiveRoute

Set objDataSet = MappointControl1.ActiveMap.DataSets(1) '("My Pushpins")

Set objRecordset = objDataSet.QueryAllRecords



objRecordset.MoveFirst

Do Until objRecordset.EOF

objRoute.Waypoints.Add objRecordset.Pushpin.Location

objRecordset.MoveNext



Loop



objRoute.Calculate



John

john@support-pc.com

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
hand, mappoint


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
customized drawing toolbar with circle and free hand only? Anonymous MapPoint 2006/2009 Discussion 1 01-19-2005 03:37 PM
Just hand it to me PMACAFEE MapPoint 2006/2009 Discussion 3 01-09-2005 04:44 AM


All times are GMT -5. The time now is 02:14 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Algarve Holiday
Portuguese all year round sunshine is some of what awaits you if you choose the Algarve holiday option through UlookUbook!



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 55 56 57 58 59