VB6 + MapPOINT : How to go to a Pushpin ?

Vincent BENNER
09-06-2002, 04:12 AM
I simplify my first post :

I've got a Access XP database with a only TGUY table
(CODE, ZIP CODE and CITY)

I've liked datas in a TEST.PTM map

I've made a VB6 application whitch opens the TEST.PTM

I saw the datas with Pushpins (style = 26 in my example).
When I click on the map, I see the datas as stocked in my
Database. So, I think that all is allright...

I'd like to make a button with the following behaviour :
When pressed, highligh the pushpin of guy with code = 4

I've tried without success the FindResults methods and
other things... It this really complex ? Can someone help
me ?

Regards,

Vincent BENNER

John Meyer
09-06-2002, 10:14 AM
If you have a listbox on your form and you want to choose one of the items in the listbox, click a command button to highlight the assoicated pushpin then I'm following you.

I would use the FindPushpin method (assuming that CODE is in the name field of the pushpin it should work well).

If this does't work for you, let me know...

 
Web mp2kmag.com
mapforums.com