MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




FindPushpin problem

This is a discussion on FindPushpin problem within the MapPoint 2006/2009 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 ...


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

Today's Posts Twitter Feed 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 10-19-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
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 10-25-2004
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
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.
__________________
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 10-29-2004
Vincent BENNER's Avatar
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
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
findpushpin, problem


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
FindPushpin(Name) Yazzy MapPoint 2006/2009 Discussion 3 08-17-2005 05:26 AM


All times are GMT -5. The time now is 03:29 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Dalaman Holiday
Enjoy a wonderfully peaceful Dalaman holiday... Book through UlookUbook and save!



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 56 57 58 59