MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Addressing 1 pushpin

This is a discussion on Addressing 1 pushpin within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm working on an application which uses Access and Mappoint to plan transport. On the left screen I have an ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-11-2003
bvv bvv is offline
Junior Member
White Belt
 
Join Date: Sep 2003
Posts: 1
Addressing 1 pushpin

I'm working on an application which uses Access and Mappoint to plan transport. On the left screen I have an access form with all destinations (up to 200). On the right screen I have a mappoint map which shows all destinations. So far, so good.
Now I want to highlight the destination choosen on the left screen. Do I really have to run to the entire recordset of the dataset or can I address the pushpin directly. All pushpins have a name depending on certain values in my access database.
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 09-11-2003
Fer Fer is offline
Junior Member
White Belt
 
Join Date: Jun 2003
Posts: 11
200 pushpins don't sound like too much burden to have their references in memory. What I would recommend you to do is have some sort of a hashtable, that you can refer to it by a unique id and get the reference of the corresponding pushpin. This way you will always have in hand the pushpin that you are referencing on the left side, and it'll be much faster than querying MP's recordsets.

I think maybe a collection can be referenced by a specific key, I haven't done much VB programming in a while.

HTH


Fernando


P.S. You will need a way to gather the references first, and this may or may not be as slow as querying the recordsets, depending on the methods you choose.
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


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
Finding Pushpin Name by clicking on the Pushpin?(MP 2002) NickSP MapPoint 2006/2009 Discussion 4 01-10-2003 12:11 PM


All times are GMT -5. The time now is 02:06 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

Ski Resort in Italy
For a superb value skiing destination look no further than Italy. Book in at a ski resort in Italy to combine great skiing with great cuisine. Holiday Hypermarket offers value for money.

Luxury Holidays
Luxury holidays, family holidays, ski holidays, cruises. Whatever your holiday needs your personal Travel Counsellor can help.

Cape Town Flights
Book Cape Town flights through dealchecker.co.uk to get a great deal. Cape Town has fantastic weather and a wide range of activities to keep you busy.

Holidays in Egypt
A holiday in Egypt will stimulate your mind, captivate your heart and spark your senses. Visit this exceptional country, book today!

Cheap Morocco Holidays
Cheap Morocco holidays may be the answer to your cheap holiday search. With sunshine throughout most of the year it can be great value if you avoid the peak season. Why not include a trip to the small tranquil town of Chefchaouen Tangier in your visit?

Cheap Travel
Travel.co.uk is a travel comparison service which makes it easy to search and find your cheap travel options.

Holidays to Fuerteventura
Come on; jump on the plane to the Canary Islands. Get information on cheap holidays to Fuerteventura at On The Beach.


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