Community of VE/MapPoint Users and Developers
This is a discussion on Is this possible within the MapPoint 2006/2009 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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Is this possible 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 |
| ||||
|
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
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |