Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

POI Extraction Routine

This is a discussion on POI Extraction Routine within the MapPoint Desktop 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 ...

  1. #1
    EdB
    EdB is offline Member Green Belt
    Join Date
    Aug 2002
    Posts
    56

    POI Extraction Routine

    I am unable to get the sample in the article to run

    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().

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    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?

  3. #3
    EdB
    EdB is offline Member Green Belt
    Join Date
    Aug 2002
    Posts
    56

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Routing routine
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 02-27-2004, 01:16 PM
  2. Mappoint 2002 Europe Street name extraction via lat long
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-07-2004, 04:16 PM
  3. Problem creating find routine
    By David Kachuck in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-06-2002, 05:52 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83