MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




[VB6 + MP2K] : how to know that...

This is a discussion on [VB6 + MP2K] : how to know that... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I've made a VB6 application which opens a new map. I read into a database datas. For each new ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 11-20-2003
Vincent BENNER's Avatar
Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 41
[VB6 + MP2K] : how to know that...

Hello,

I've made a VB6 application which opens a new map.

I read into a database datas.

For each new record, I had a pushpin on the map and
add the name of the pushin into a ComboBox.

On the right of the combo, I made a command button
which allow to the user to display quiclky the item selected
into the combo.

What I'd like to know is the opposite : I'd like to display
into the combo the name of the pushpin I click ?

Is this possible ?

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
  #2 (permalink)  
Old 11-20-2003
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
Yes it is possible.

In the selection change event you need to test to see if the selected item is a pushpin.

Code:
If TypeOf objmap.Selection Is Pushpin Then
'Do Something
End if
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 11-21-2003
Vincent BENNER's Avatar
Member
Yellow Belt
 
Join Date: Sep 2002
Posts: 41
It works nearly...

Dear John,

The event is the right one. However, I can't
succeed to know the name of the pushpin...

I've tried

Code:
pNewSelection.Name
and other things...

Why I can't success ?

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
mp2k, vb6


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
[VB6 + MP2K] : how to compare 2 locations ??? Vincent BENNER MapPoint 2006/2009 Discussion 2 12-12-2003 02:52 AM
[VB6 + MP2K] : How to know that... I found the solution ! Vincent BENNER MapPoint 2006/2009 Discussion 0 11-21-2003 05:18 AM
[VB6 + MP2K] How to calculate distance between... Vincent BENNER MapPoint 2006/2009 Discussion 1 11-19-2003 12:59 PM
With MP2K does anyone know how to programatically .... Anonymous MapPoint 2006/2009 Discussion 1 07-29-2002 07:19 AM
MP2K Object Library JPeters MapPoint 2006/2009 Discussion 0 07-23-2002 10:30 AM


All times are GMT -5. The time now is 07:37 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 55