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 2 of 2

Is this possible

This is a discussion on Is this possible within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi All, I have been asked the following question and require a little assistance in being able to answer it ...

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

    Is this possible

    Hi All,

    I have been asked the following question and require a little assistance in being able to answer it as I have no knowledge of interfacing with mappoint.

    Q> Is it possible to select a pushpin within mappoint and for the data held against the pushpin i.e. Address / Phone No to be passed out into another application based upon a button being pressed within the external application.

    Any help and advice on wether this is possible and how I would need to approach this (i.e. which methods/objects/properties should I be looking at) would be a great help.

    Thanks In advance....

    Dave Bonas
    Analyst Programmer.
    dave.bonas@racsoftware.co.uk

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Yes you can. Here in this example I'm using the active X control on a VB6 form. This code can be in a command button...

    Dim objmap As MapPoint.Map
    Set objmap = MappointControl1.ActiveMap
    Dim objPin As MapPoint.Pushpin

    If TypeOf objmap.Selection Is Pushpin Then
    Set objPin = objmap.Selection
    MsgBox objPin.Name
    MsgBox objPin.Note
    End If

Thread Information

Users Browsing this Thread

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

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