Community of MapPoint and Virtual Earth Users and Developers
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 ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Plz if yu have any solution do come out thanks in advance nirmal |
| |||
|
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 |
![]() |
| Tags |
| hand, mappoint |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |
Algarve Holiday
Portuguese all year round sunshine is some of what awaits you if you choose the Algarve holiday option through UlookUbook!