MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




Oval adjustments access denied

This is a discussion on Oval adjustments access denied within the Development forums, part of the MapPoint Desktop Discussion category; Hi I am having a nagging problem i am trying to alter the angle of a oval which i have ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion > Development

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-09-2010
Tim
White Belt
 
Join Date: Oct 2009
Posts: 6
Arrow Oval adjustments access denied

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 02-09-2010
Mattys Consulting's Avatar
Senior Member
Red Belt
 
Join Date: Dec 2002
Posts: 670
Re: Oval adjustments access denied

Hi timllens,

That property seem to be unused for oval autshapes.
You'll need to delete the shape and recreate it in the desired configuration.

Note that many of these autoshapes are going to be rather inflexible,
meaning that you'll need to addshape by passing in an array of locations.

Mike Mattys
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 02-10-2010
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,439
Blog Entries: 40
Re: Oval adjustments access denied

Yes I thought ovals had to be aligned to the NS and EW compass directions.

I think the angle property is for the radius line in a Radius autoshape? (circle with a line giving the radius).

Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
access, adjustments, denied, oval


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Access Denied Error on DisplayDataMap tbirdsimplemuse Development 5 01-18-2008 08:54 AM
Access denied using 'PreferredDeparture' denjoyner MapPoint Desktop Discussion 0 06-16-2005 10:27 AM
MapPoint: Error - Access Denied Anonymous MapPoint Desktop Discussion 0 01-17-2005 07:34 AM
access denied: Interop Anonymous MapPoint Desktop Discussion 0 06-28-2003 03:22 AM
MP2002 Access Denied Trouble Anonymous MapPoint Desktop Discussion 3 11-30-2002 10:04 AM


All times are GMT -5. The time now is 05:11 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.0 RC3
MP2K Magazine
Visitor Map



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69