Hi I am having a nagging problem i am trying to alter the angle of a oval which i have placed on the map with the following code
im myshape As MapPoint.Shape
AxMappointControl1.ActiveMap.Shapes.AddShape(MapPo int.GeoAutoShapeType.geoShapeOval, MAPLOCS1(MAPLOCS1.Length - 1), 3, 2).Name = "Zone"
myshape = AxMappointControl1.ActiveMap.Shapes.Item("Zone")
myshape.Adjustments(1) = 90
However when i run the program an error is thrown saying access denied?????
does anyone have an idea of how it is possible to overcome this or what i am doing wrong?
Kind regards
Tim




LinkBack URL
About LinkBacks







Reply With Quote

