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

Help file says MapPointCtl, it doesn't exist

This is a discussion on Help file says MapPointCtl, it doesn't exist within the MapPoint Desktop Discussion forums, part of the Map Forums category; Trying to manipulate the MapPoint Control 9.0 that came with MP2002. Help file says to use MapPointCtl library. Ie: Sub ...

  1. #1
    JPeters is offline Junior Member Yellow Belt
    Join Date
    Jul 2002
    Posts
    12

    Help file says MapPointCtl, it doesn't exist

    Trying to manipulate the MapPoint Control 9.0 that came with MP2002. Help file says to use MapPointCtl library. Ie:

    Sub Form_Load()

    Dim objMap As MappointCtl.Map

    'Use the default North American Map
    Set objMap = MPC.NewMap(geoMapNorthAmerica)

    End Sub

    I'm getting an error. MapPointCtl doesn't exist. SO I can't use it. I have MapPoint and MapPointUtilities. I've tried getting around this with MapPoint.APplication, but I don't want MapPoint to open outside of my application, I need this to work with the ActiveX Contorl embeded within my form. Any ideas?

    -Josh
    ---------------------------
    -JPeters-
    jpeters@guidemail.com
    ---------------------------

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478

    Re: Help file says MapPointCtl, it doesn't exist

    Josh,

    The only thing I see is the name of the ActiveX Control. When you drag the control on to your form default the name will be MappointControl1. if you did not change the control name to "MPC" then that would explain the problem. Either change the control name to "MPC" or change the code to: Set objMap = MappointControl1.NewMap(geoMapNorthAmerica)

    Quote Originally Posted by JPeters
    Trying to manipulate the MapPoint Control 9.0 that came with MP2002. Help file says to use MapPointCtl library. Ie:

    Sub Form_Load()

    Dim objMap As MappointCtl.Map

    'Use the default North American Map
    Set objMap = MPC.NewMap(geoMapNorthAmerica)

    End Sub

    I'm getting an error. MapPointCtl doesn't exist. SO I can't use it. I have MapPoint and MapPointUtilities. I've tried getting around this with MapPoint.APplication, but I don't want MapPoint to open outside of my application, I need this to work with the ActiveX Contorl embeded within my form. Any ideas?

    -Josh

  3. #3
    JPeters is offline Junior Member Yellow Belt
    Join Date
    Jul 2002
    Posts
    12

    hmm

    John,
    Actually - I did change the name to MPC. I've tried it as MPC and as MapPointControl1. This has been plaguing me for over a week now. I installed my copy of VB and now I'm going through Microsoft's programmed examples and seeing if they work .. and why theirs will and mine wont. Doing this soon as I can. I'll post with updates.


    -Josh
    ---------------------------
    -JPeters-
    jpeters@guidemail.com
    ---------------------------

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. requested member of collection does not exist
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-16-2004, 07:22 AM
  2. How know if a pushpin exist ?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 07-01-2004, 03:05 AM
  3. can you explain MappointCtl
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 05-06-2004, 09:51 AM
  4. Check if a waypoint and a pushpin exist
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 08-19-2003, 09:27 AM
  5. Does a manual for MapPoint 2001 exist?....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-05-2001, 11:49 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