View Single Post

  #1 (permalink)  
Old 12-14-2006
FreddyD FreddyD is offline
Junior Member
White Belt
 
Join Date: Dec 2006
Location: Cologne in Germany
Posts: 4
Question GeoOneMinute in VB.net 2005 express

Hi,

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.
Reply With Quote