Community of VE/MapPoint Users and Developers
This is a discussion on Searching pushpin sets in C# within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have read through many posts on this forum, and I can not figure out why this does not work. ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Searching pushpin sets in C# MapPoint.Location loc; MapPoint.DataSets DSets = axMappointControl1.ActiveMap.DataSets; MapPoint.DataSet Dset = axMappointControl1.ActiveMap.DataSets(???) MapPoint.Recordset RSet = Dset .QueryAllRecords(); That is the part of the code I am referring to, but I dont know what goes where the question marks are. I thought i could use .Item but it does not work. Im new to mappoint, so Im probably missing something obvious, but I cant figure it out. Any help would be appriciated. |
| |||
|
Hi, This access the dataset by number (it starts at 1 instead of 0): Code: object o = 1;
MP.ActiveMap.DataSets.get_Item(ref o); Code: object o = "My other pushpins";
MP.ActiveMap.DataSets.get_Item(ref o);
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Address Searching | Anonymous | MapPoint 2006/2009 Discussion | 0 | 01-07-2005 08:07 AM |
| Showing/hiding pushpin sets | Anonymous | MapPoint 2006/2009 Discussion | 3 | 11-23-2004 03:33 PM |
| pushpin sets pick random spot NOT correct address????? | Anonymous | MapPoint 2006/2009 Discussion | 0 | 08-15-2004 12:53 AM |
| Searching by Entity ID | the_jock | MapPoint 2006/2009 Discussion | 1 | 01-29-2004 08:37 AM |
| joining pushpin sets | tommigo | MapPoint 2006/2009 Discussion | 1 | 04-01-2003 05:21 AM |
Ski Holidays French Alps
Ski holidays in the French Alps are a unique and exciting experience. There are a great range of resorts which are great value when you book with Holiday Hypermarket online.
Cruise Travel Agent
Book your cruise with Travel Counsellors. We are an award winning travel agent and can help plan your perfect cruise.
Jamaica Holiday
Fancy a Jamaica Holiday? Then visit dealchecker.co.uk and find out what the big deal is. Book a bargain when you book online.
Holidays to St Lucia
Holidays to St Lucia will leave you smiling. The spectacular scenery and the warmth of the locals make holidays to St Lucia unforgettable.
Tunisia
Tunisia enjoys excellent weather, golden beaches and a beautiful blue sea. Moving away from the beach you will find a country that has a rich and varied past. Discover the secrets of history yourself by exploring all the ruins.
Bargain Holidays
To plan your holidays at bargain prices, use Travel.co.uk to explore all the possibilities.
Portugal Holidays
We specialise in Portugal holidays. Visit our On The Beach website for more information.