Community of VE/MapPoint Users and Developers
This is a discussion on Drawing a polyline with Visual Basic Net - Array problem within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Using VB6 I had no problems drawing a polyline, but with VB Net I found trouble working with arrays. I ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Drawing a polyline with Visual Basic Net - Array problem I use the following example code: Dim obj(3) As MapPoint.Location Dim oShape As MapPoint.Shape obj(1) = AxMappointControl1.ActiveMap.GetLocation(40, -8.2, 1000) obj(2) = AxMappointControl1.ActiveMap.GetLocation(40.4, -8.3, 1000) obj(3) = AxMappointControl1.ActiveMap.GetLocation(40.1, -8.5, 1000) oShape = AxMappointControl1.ActiveMap.Shapes.AddPolyline(ob j) obj(1).GoTo() Can anyone please tell me how to define an ArrayOfLocations that works! |
![]() |
| Tags |
| array, basic, drawing, net, polyline, problem, visual |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Addpolyline , Array , Visual Basic and Other languages | Anonymous | MapPoint 2006/2009 Discussion | 2 | 08-26-2004 04:58 AM |
| Visual Basic 6.0 | Anonymous | MapPoint 2006/2009 Discussion | 1 | 08-06-2004 07:17 AM |
| mappoint, visual c++ vs visual basic | Anonymous | MapPoint 2006/2009 Discussion | 6 | 03-30-2004 10:17 PM |
| Problem method Map.copymap() in visual basic .net | Anonymous | MapPoint 2006/2009 Discussion | 2 | 10-28-2003 03:05 AM |
| Visual basic or visual c++ in mappoint | misterb83 | MapPoint 2006/2009 Discussion | 1 | 02-14-2003 09:31 AM |