Community of VE/MapPoint Users and Developers
This is a discussion on POI Extraction Routine within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am unable to get the sample in the article to run For me, the first stumbling block comes on ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| POI Extraction Routine For me, the first stumbling block comes on this line, Dim oMap As MappointCtl.Map The first declaration provided. There is no MappointCtl object, property or method. I was able to get by this by changing it to Dim oMap As Mappoint.Map However, this line, which follows shortly after Set oMap = MappointControl1.NewMap(geoMapNorthAmerica) I have no answer for. When I run it, I get Object Required, and my searches find no MapPointControl1 nor a NewMap(). |
| ||||
|
The example you were using was more than likely for Visual Basic using the Mappoint ActiveX Control. MappointControl1 is the default name given to the control when you drag it onto your form. What are you programming in?
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
| |||
| POI Extraction Routine
My bad. :oops: I do use VB. However, I was taking the code at face value. None of the other routines that I have had need for (from this site) required actually placing a MapPoint control on the form. Thanks. |
![]() |
| Tags |
| extraction, poi, routine |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Routing routine | Anonymous | MapPoint 2006/2009 Discussion | 4 | 02-27-2004 02:16 PM |
| Mappoint 2002 Europe Street name extraction via lat long | Anonymous | MapPoint 2006/2009 Discussion | 2 | 01-07-2004 05:16 PM |
| Problem creating find routine | David Kachuck | MapPoint 2006/2009 Discussion | 1 | 11-06-2002 06:52 AM |