Community of VE/MapPoint Users and Developers
This is a discussion on AddPolyLine (s) array problem within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I produce a lot of DriveTimeZones in MapPoint 2006 by VB6-code and I stored all vectors of the polygones ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| I produce a lot of DriveTimeZones in MapPoint 2006 by VB6-code and I stored all vectors of the polygones in my MS ACCESS xxx.mdb. I would like to takte this polygones to the map at a later time using the method AddPolyLine. The code works correctly if I define the locaion-variable as follows: Dim objLoc(1 to 9) as MapPointCtl.Location However, the parameters "1" and "9" must be constants. Since I, however, don't know how many vectors my polygones have, I would like to us a variable array. I then could determine the number of vectors and fix the size for the array. If I try this, I always get the error massage: Wrong parameter -214 702 4809 (800 700 57). I have read much in this forum but i haven't found a solution. Can anybody help, how to do? |
| |||
| Re: AddPolyLine (s) array problem
Hi, You can use AddLine method. Then you are free in the needed capacity.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| addpolyline, array, problem |
| ||||
| Posted By | For | Type | Date | |
| Author - MP2K Magazine | This thread | Refback | 01-03-2007 12:49 AM | |
| Microsoft MapPoint 2006 - MP2K Magazine | This thread | Refback | 12-28-2006 12:48 PM | |
| Interview with Steve Lombardi - MapPoint Articles - MP2K Magazine | This thread | Refback | 12-27-2006 06:37 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shapes.AddPolyline is very slow | tdaffin | MapPoint 2006/2009 Discussion | 4 | 01-27-2006 07:08 AM |
| SetFieldsVisibleInBalloon - how do I set up the array | jtowell | MapPoint 2006/2009 Discussion | 7 | 05-16-2005 12:59 PM |
| Drawing a polyline with Visual Basic Net - Array problem | Anonymous | MapPoint 2006/2009 Discussion | 0 | 03-24-2005 04:16 PM |
| Addpolyline , Array , Visual Basic and Other languages | Anonymous | MapPoint 2006/2009 Discussion | 2 | 08-26-2004 03:58 AM |
| addpolyline | Anonymous | Wish List | 2 | 04-25-2003 03:50 PM |
Cheap Flights to Brussels
Book cheap flights to Brussels online today. Brussels is a city with diverse culture with over 100 museums to visit and an array of different architectural designs to view.
Business Travel Agent
Leading Business Travel Agent. Personal service is at the heart of our business. Talk to one of our travel agents today.
Holidays in Italy
Holidays in Italy boast some stunning countryside as well as a beautiful coastline. You can even visit an active volcano like Stromboli or Etna. Book at dealchecker.co.uk.
St Lucia Holidays
St Lucia holidays offer something for everyone. Enjoyed by families and young couples alike, St Lucia is a great destination. See online!
Cheap Portugal Holidays
Want to know what the best time to book cheap Portugal holidays is? Well have a look on ulookubook.com for some useful information to save your cash. Golf, tennis and cycling are all very popular here.
Cheap Travel
Travel.co.uk has some excellent offers on cheap travel. Click here.
Cheap holidays in Cyprus
Stunning coastline! Beautiful beaches! Cheap holidays in Cyprus, available at On The Beach.