Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Big problem with "get_item" method :(( within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I have a problem when I use the get_item method with recordset for example this source code is Ok: ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Big problem with "get_item" method :(( I have a problem when I use the get_item method with recordset for example this source code is Ok: Code: string t; t= "City"; object index = t; line=rs.Fields.get_Item(ref index).Value.ToString() Code: object index = tab[2].ToString(); line=rs.Fields.get_Item(ref index).Value.ToString() do you have a solution for this problem ? |
| |||
|
Hi, I did a test, but not exacly the same as you, but this works without exception: Code: string[] aS = new string[2];
aS[0] = "My Pushpins";
o = aS[0];
rs = mp.ActiveMap.DataSets.get_Item(ref o).QueryShape(s);
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
|
Hi, cool Glad it works
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| big, getitem, method, problem |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MapPoint "There was a problem opening ..." With Or | eric.hill | MapPoint 2006/2009 Discussion | 2 | 04-03-2006 08:48 PM |
| addin-form with behavior as "Extras-Geopositon"-fu | Th.M.Mädzulat | MapPoint 2006/2009 Discussion | 0 | 12-20-2005 09:37 AM |
| Mapppoint 2003 EULA vs "Fleet Applications" | Anonymous | MapPoint 2006/2009 Discussion | 9 | 04-17-2004 02:03 PM |
| Do I need "Autoroute Europe", if I install "M | bigtail | MapPoint 2006/2009 Discussion | 1 | 03-23-2004 11:58 PM |
| How ImportData method with "Password-protected" a | rrosenhagen | MapPoint 2006/2009 Discussion | 0 | 12-10-2002 03:13 PM |
Costa Brava Holiday
Beautiful kilometres of sandy beaches await you should you choose a Costa Brava holiday through UlookUbook!