View Single Post

  #3 (permalink)  
Old 05-12-2004
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
one thing you might do to make life easier on yourself is use the waypoint class, so you can play with the waypoint object that is returned when you add a location/pushpin to a stop. like so:

Code:
MapPoint.Waypoint way = route.Waypoints.Add(location, nameOfStop);
way.PreferredDeparture.AddHours(1);
the above compiled fine for me. i tried setting the preferreddeparture time directly,

Code:
way.PreferredDeparture = System.DateTime.Parse("4/14/04");
and although it compiled fine i did get the access denied error.
Reply With Quote