Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on array of locations within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Is there a way to make a dynamic array ? All samples I found until now use following syntax. The ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| array of locations All samples I found until now use following syntax. The don't allow to change the upper limit of the array, or to use a variable instead. Dim objLocs(1 To 5) As MapPoint.Location When i try to use the standard VB way to create a dynamic array : Dim objLocs() As MapPoint.Location PPCount = 10 Redim objlocs(PPcount[/i]) I always get an error on the line where the polygon is added. mymap.shapes.addpolygon objlocs My problem is that I want to draw different polygons on my map , depending on data in an access database. Sorry about my bad english, I hope someone understands my problem and is able to give me some advice. Thanks a lot [/i] |
| |||
| Array of locations Correction of previous topic Is there a way to make a dynamic array ? All samples I found until now use following syntax. They don't allow to change the upper limit of the array, or to use a variable instead. Code: Dim objLocs(1 To 5) As MapPoint.Location Code: Dim objLocs() As MapPoint.Location, PPCount as integer PPCount = 10 Redim objlocs(PPcount) Code: mymap.shapes.addpolyline objlocs Sorry about my bad english, I hope someone understands my problem and is able to give me some advice. Thanks a lot |
![]() |
| Tags |
| array, locations |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SetFieldsVisibleInBalloon - how do I set up the array | jtowell | MapPoint 2006/2009 Discussion | 7 | 05-16-2005 12:59 PM |
| How to access to an array of pushpins that were added ? | Jaba | MapPoint 2006/2009 Discussion | 4 | 01-13-2005 06:20 AM |
| Help! Import Custom Symbol Array | Anonymous | MapPoint 2006/2009 Discussion | 2 | 01-07-2005 03:29 PM |
| Addpolyline , Array , Visual Basic and Other languages | Anonymous | MapPoint 2006/2009 Discussion | 2 | 08-26-2004 03:58 AM |
| Importing address with an array of fields specified | jscott099 | MapPoint 2006/2009 Discussion | 1 | 12-30-2003 10:10 PM |
Antalya Holiday
Check out the Antalya holiday options through UlookUbook and find amazing offers that suit your pocket...