Community of VE/MapPoint Users and Developers
This is a discussion on UnionSample -> vb.net translation within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I'm automating MP 2004 with ASP/VB.Net. I found that sample in MP help, ... Code: Sub UnionSample() Dim oMap ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| UnionSample -> vb.net translation I'm automating MP 2004 with ASP/VB.Net. I found that sample in MP help, ... Code: Sub UnionSample()
Dim oMap As MapPoint.Map
Set oMap = GetObject(, "MapPoint.Application").ActiveMap
Dim locNewYork, locParis As MapPoint.Location
Set locNewYork = oMap.FindResults("New York City")(1)
Set locParis = oMap.FindResults("Paris, Frankreich")(1)
oMap.Union(Array(locParis, locNewYork)).GoTo
End Sub
I stored some Locations in an vb.net array but if I put this in place of the array, I get the error "Wrong Parameter". So how to translate the vb.net array into a fitting array? Or maybe the reason for the error is caused by something else?! Thanks in advance |
![]() |
| Tags |
| >, translation, unionsample, vbnet |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Smooth View Translation from pin to pin | discostu | MapPoint 2006/2009 Discussion | 3 | 05-12-2005 01:14 PM |
| Map Translation Software | Anonymous | MapPoint 2006/2009 Discussion | 3 | 09-18-2003 10:41 AM |