Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

How to call symbol by name rather than ID.

This is a discussion on How to call symbol by name rather than ID. within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have loaded about 75 custom icons into a map and then I want to address them by name. How ...

  1. #1
    PMACAFEE is offline Member Yellow Belt
    Join Date
    Dec 2004
    Posts
    41

    How to call symbol by name rather than ID.

    I have loaded about 75 custom icons into a map and then I want to address them by name. How do I select by name rather than by ID number.

    I am sure it is something like objmap.Symbols.ItemByID (objmap.Symbol.Name) = "Test" or somthing like that.

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: How to call symbol by name rather than ID.

    Hi,

    you can have your own array of pushpin but you can use findPushpin(name) to let mappoint find it for you

  3. #3
    PMACAFEE is offline Member Yellow Belt
    Join Date
    Dec 2004
    Posts
    41

    Re: How to call symbol by name rather than ID.

    That one I got on my own after some tinkering around. I have loaded the 75 icons into a map through the Mappoint application using the icon loader suggested in another of my posts here.

    I save the map, because the user added icons are saved in the map. That way I have an expanded library without having to load every time.

    When running my Access application, I first load the map with the icons installed and then I call them by the file name they had when loaded.

    I use:
    objPushPin(xy).Symbol = objmap.Symbols.Item("Car.bmp")

    It seems to work fine and the program is so far stable.

    Thanks for all your help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Remote procedure call failed: Location. StreetAddress
    By Vinay in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 02-16-2006, 02:34 PM
  2. GeoWeb Call for Papers Issued
    By Eric Frost in forum News and Announcements
    Replies: 0
    Last Post: 01-31-2006, 11:24 AM
  3. NullPointerException for getting Call Object
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 04-26-2004, 03:20 AM
  4. How to call add-in from vb
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 12-23-2003, 02:56 AM
  5. When I call and open up MapPoint from VB as a sepa....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-05-2001, 08:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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