MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




[VB6 + MP2K] : How to know that... I found the solution !

This is a discussion on [VB6 + MP2K] : How to know that... I found the solution ! within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I wrote that I wasn't able to do something and I found the solution 1 minute after... So, I wrote ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (1) Thread Tools Display Modes
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 11-21-2003
Vincent BENNER's Avatar
Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 41
[VB6 + MP2K] : How to know that... I found the solution !

I wrote that I wasn't able to do something and I found the solution 1 minute after...

So, I wrote this code to help other guys !

Question : how to know the name of the selected pushpin ?

Answer : in the _SelectionChange event of your
MapPoint control, write :

Code:
    If TypeOf ctrlMAPPOINT.ActiveMap.Selection Is Pushpin Then

        Dim PP As MapPoint.Pushpin
        Set PP = pNewSelection
        
        MsgBox PP.Name
        
        ' Or do something different
        
    End If
Thanks for the help I received !

Regards,

Vincent BENNER
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
found, mp2k, solution, vb6


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/vb6-mp2k-how-know-i-found-solution-2139.html

Posted By For Type Date
Wow Talent Calculator This thread Refback 03-28-2007 05:19 PM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Addresses not found for MapPoint 'isMached'! pileggi MapPoint 2006/2009 Discussion 0 08-24-2005 11:09 AM
Help - Address not found!? Syd MapPoint 2006/2009 Discussion 1 02-23-2004 03:17 AM
Error in VBA automation of MapPoint when PO BOX is found JPeters MapPoint 2006/2009 Discussion 2 01-09-2003 10:40 AM
When geocoding with MP2002 I have found when using.... Anonymous MapPoint 2006/2009 Discussion 1 03-26-2002 01:16 PM
I've found many addresses that were not on MapPoin.... Anonymous MapPoint 2006/2009 Discussion 1 11-05-2001 11:11 AM


All times are GMT -5. The time now is 04:15 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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