I'm, trying to create a DriveTimeZone with Visual-Basic 2005 Express with this codesample (MapPoint 2006 is installed and works):
Me.AxMappointControl1.ActiveMap.Shapes.AddDrivetimeZ one(objLoc, 5 * geoOneMinute)
warning-message: The Name "geoOneMinute" was not declared.
The Code doesn't work.
Is there somewhere who knows the reason? And what have I to do?
P.S. In VB 6.0 it works correctly.