Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Problem creating find routine within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am creating my own version of the find place name function to find my accounts. My code is copied ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Problem creating find routine Dim intX As Integer strAccountName = frmSearchMap.strAccountName Set objMap = MappointControl1.ActiveMap Set objFindResults = objMap.FindPlaceResults(strAccountName) frmSearchMap.lstPossibleNames.Clear intX = 1 Do While intX <= objFindResults.Count Set objLoc = objFindResults.Item(intX) frmSearchMap.lstPossibleNames.AddItem objLoc.Name intX = intX + 1 Loop frmSearchMap.lstPossibleNames.Visible = True frmSearchMap.Show Perhaps someone can see my blind spot here. Any suggestions appreciated.
__________________ David Kachuck dk0146@netscape.net Oracle Certified Professional Database Administrator (OCP) MS Access Certified Expert (MAUS) |
| ||||
|
Try making this change to the Do Loop. Do While intX <= objFindResults.Count frmSearchMap.lstPossibleNames.AddItem objFindResults.Item(intX) .Name intX = intX + 1 Loop
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
![]() |
| Tags |
| creating, find, problem, routine |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating an Add-in in VS .net | Anonymous | MP2K Magazine Articles | 2 | 02-18-2005 07:21 PM |
| TIP: Creating A HyperLink Map to Find Polling Place | Eric Frost | MapPoint 2006/2009 Discussion | 4 | 11-16-2004 11:31 PM |
| Routing routine | Anonymous | MapPoint 2006/2009 Discussion | 4 | 02-27-2004 01:16 PM |
| Creating a tooltip on a map | Anonymous | MapPoint 2006/2009 Discussion | 0 | 01-20-2004 07:09 AM |
| POI Extraction Routine | EdB | MapPoint 2006/2009 Discussion | 2 | 08-09-2002 04:28 AM |
Thassos Holidays
Visit an unspoilt and beautiful Greek island with Thassos holidays available through UlookUbook.