Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

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 ...

  1. #1
    timllens is offline 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

  2. #2
    Mattys Consulting's Avatar
    Mattys Consulting is offline Senior Member Black Belt
    Join Date
    Dec 2002
    Posts
    1,027

    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

  3. #3
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Posts
    1,766
    Blog Entries
    51

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 70 71 72 73 74 75 76 77 78 79 80