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

FindPushpin problem

This is a discussion on FindPushpin problem within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi All I wrote a VB application with mappoint map object in it. I try to find a pushpin whos ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    FindPushpin problem

    Hi All

    I wrote a VB application with mappoint map object in it.

    I try to find a pushpin whos name is: B&B SYSTEMS|24022|3

    Mappoint cant find this name, but when I look the pushpin in the map
    I can find it.

    Does anybody knows this problem and how to solve it.

    I dont seem to have problem with any other name.

    All the names are built the same with the |'s

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    I have had the same problem. I would avoid Special Char/Spaces/Long Names if possible. If you are not working with really large numbers of pushpins you could use the instr() function.

  3. #3
    Vincent BENNER's Avatar
    Vincent BENNER is offline Member Yellow Belt
    Join Date
    Sep 2002
    Posts
    44
    What's a coincidence ! I've got today the same problem with the following name :

    I.F.S.I CENTRE HOSPITALIER : 00001141 (200409290050001)


    I've got many others pushpins and they all work well. Only this one isn't found with the FindPushpin method...

    I wrote those instructions :

    Code:
        Set objMap = frmMAIN.ctrlMAPPOINT.ActiveMap
        Set objRoute = objMap.ActiveRoute
        objRoute.Waypoints.Add objMap.FindResults(Me.zlCUST).Item(1)
    instead of

    Code:
        objRoute.Waypoints.Add objMap.FindPushpin(Me.zlCUST)
    And now, it works !

    Regards,

    Vincent BENNER

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindPushpin(Name)
    By Yazzy in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 08-17-2005, 06:26 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