MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Using union in c#

This is a discussion on Using union in c# within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Type rType = rte.Waypoints.GetType(); ArrayList al = new ArrayList(System.Array.CreateInstance(rType,rte.Wa ypoints.Count)); mpMap.ActiveMap.Union((object)al.ToArray(typeof(Ma pPoint.Waypoint))).GoTo(); rte = my active route i created. I ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-04-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Using union in c#

Type rType = rte.Waypoints.GetType();
ArrayList al = new ArrayList(System.Array.CreateInstance(rType,rte.Wa ypoints.Count));
mpMap.ActiveMap.Union((object)al.ToArray(typeof(Ma pPoint.Waypoint))).GoTo();

rte = my active route i created.

I tried everything passing the waypoints collection, creating an array, but it tells me the parameter is incorrect.

I'm using MapPoint 2002 control.
The specs say Map.Location Union( object ArrayOfLocations )

How to make this work?

thanks,
nick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
HTML, activeX and Javascript - Union method problem mcjwb MapPoint 2006/2009 Discussion 14 06-18-2005 08:56 AM
Union amanuel MapPoint 2006/2009 Discussion 1 09-21-2002 06:08 PM


All times are GMT -5. The time now is 01:59 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Bulgaria Cheap Ski Holidays
When you look for cheap Ski holidays, look for Bulgaria cheap ski holidays. The slopes are ideal for beginners and early intermediate skiers.

Flights to Spain
Find and book flights to Spain. Travel Counsellors can help with travel to Spain including flights and accommodation.

Holiday in Turkey
A Holiday in Turkey is great value when you book with dealchecker.co.uk. There is an abundance of things to see and do. Check out the well-preserved Greco-Roman ruins.

Cancun Holidays
Cancun holidays offer beautiful scenery, calm waters and plenty of shopping. Get a taste of the good life while on holiday in Cancun.

Cyprus
Before visiting Cyprus, make sure you are well informed to make the most of your holiday. Online at ulookubook.com you check out our useful travel guides. Find out all about the Cyprus nightlife, shopping, eating and customs.

Compare Holidays
Compare holidays online where you can see all the amazing possibilities at Travel.co.uk

Holidays to Fuerteventura
Come on; jump on the plane to the Canary Islands. Get information on cheap holidays to Fuerteventura at On The Beach.


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