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

Cant See Mappoint.Application from VB

This is a discussion on Cant See Mappoint.Application from VB within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am an experienced VB6 developer new to Mappoint. I wish to start using the product and have clicked on ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Cant See Mappoint.Application from VB

    I am an experienced VB6 developer new to Mappoint. I wish to start using the product and have clicked on Microsoft Mappoint Control 9 to add the component to my project.

    However, when I view the available components all I can see is:

    Map
    MappedDataField
    MappedDataFields
    MappointControl
    MappointCtl
    MappointUtilities

    I cant see the Mappoint application itself.

    if I type 'Dim objApp As New MapPoint.Application' I get 'User Defined Type not defined'

    What am I doing wrong ?

  2. #2
    Joakim is offline Junior Member White Belt
    Join Date
    Jun 2003
    Posts
    11
    Not sure what you mean, but you must work with your ActiveX (MapPointCtl) in VB6 if you do not plan to make an Comm Add-In to MapPoint.

    1) Add your MapPoint Control to the Form
    2) Add following code in Form_load to make it visible: Me.MappointControl1.NewMap MapPointCtl.GeoMapRegion.geoMapEurope

    (or MapPointCtl.GeoMapRegion.geoMapNorthAmerica if you want that region)

    Joakim
    http://www.spedsoft.se
    SpedSoft AB has been working with MapPoint since version 2000 and have the longest experience in Sweden on MapPoint.

  3. #3
    friendleyvoices is offline Junior Member White Belt
    Join Date
    Apr 2004
    Posts
    3

    Re: Cant See Mappoint.Application from VB

    Quote Originally Posted by RWH
    I am an experienced VB6 developer new to Mappoint. I wish to start using the product and have clicked on Microsoft Mappoint Control 9 to add the component to my project.

    However, when I view the available components all I can see is:

    Map
    MappedDataField
    MappedDataFields
    MappointControl
    MappointCtl
    MappointUtilities

    I cant see the Mappoint application itself.

    if I type 'Dim objApp As New MapPoint.Application' I get 'User Defined Type not defined'

    What am I doing wrong ?

    to open mappoint as an application check the mappoint controls in the references
    The road is long and hard to find

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Using Mappoint with Web Application
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 06-02-2004, 08:29 AM
  2. Creating an application with mappoint within vb
    By blackmap in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 12-16-2002, 07:15 PM
  3. Hi, I need help getting MapPoint.Application to....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 01-23-2002, 07:10 AM
  4. I am trying to use the Mappoint in my application ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-03-2001, 10:53 PM
  5. I have developed a VB application using MapPoint a....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 10-10-2001, 01:21 PM

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 84 85 86 87 88 89 90 91 92 93 94 95 96