MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Pushpin Problem

This is a discussion on Pushpin Problem within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I am having problems adding a pushpin, I can select a pushpin from the 'Draw Menu Bar' I then ...


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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack (6) Thread Tools Display Modes
  6 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 08-30-2007
Junior Member
White Belt
 
Join Date: Aug 2007
Posts: 7
Pushpin Problem

Hi, I am having problems adding a pushpin, I can select a pushpin from the 'Draw Menu Bar' I then click on the map, the pushpin Icon with target shows, but when I left click it simply disappears and does not insert the pushpin.
This used to work fine, but suddenly it has stopped working. I have uninstalled and re-installed Mappoint 2006 Europe, to no avail. Any Ideas? Thanks in advance.

Peter

Previously Posted in ‘Article Comments and Questions’

Pushpin (cannot add)
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 08-30-2007
Junior Member
White Belt
 
Join Date: Aug 2007
Posts: 7
Re: Pushpin Problem

Additional info.

Trying to add pushpin using VBA Code I get the following error.

run-time error '4000':

An unexpected internal error occured.
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 08-31-2007
Senior Member
Green Belt
 
Join Date: Oct 2003
Location: London
Posts: 113
Re: Pushpin Problem

Hi Peter, it's me again!! I've come across that error 4000 in the past and I think it was to do with a memory leakage. Provided your code is OK then it looks like you'll have to get your IT support involved. If you want me to run your code as a test then post it or PM it to me.

David
__________________
David
MapPoint Europe Gallery at http://www.broomanalysis.plus.com/gallerylist.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 08-31-2007
Junior Member
White Belt
 
Join Date: Aug 2007
Posts: 7
Re: Pushpin Problem

Hi David,


I do not generally use code to add pushpins.
Just thought I’d try it to see if I could do it that way.
The problem is adding a pushpin using Mappoint itself.

However the code I used is from Microsofts examples, slightly modified because there are 2 Leeds in the UK.


Sub AddPushpinToGoodFindMatch()
Dim objApp As New MapPoint.Application
Dim objFR As MapPoint.FindResults
'Set up the application
objApp.Visible = True
objApp.UserControl = True
Set objMap = objApp.ActiveMap
Set objRoute = objMap.ActiveRoute
'Get a FindResults collection
Set objFR = objApp.ActiveMap.FindResults("Leeds")
objRoute.Waypoints.Add objFR.Item(1)
'If the first result is a good match, then use it
If objFR.ResultsQuality = geoFirstResultGood Then
objApp.ActiveMap.AddPushpin objFR.Item(1)
ElseIf objFR.ResultsQuality = geoAmbiguousResults Then
objApp.ActiveMap.AddPushpin objFR.Item(1)
objApp.ActiveMap.AddPushpin objFR.Item(2)
Else
MsgBox "No a good match."
End If
End Sub


But as I say this is not really the problem, I use VBA to Add places and Postcode without any problems.
“get your IT support involved”, what IT support, I am it L

Thanks for trying

Regards

Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 08-31-2007
Senior Member
Green Belt
 
Join Date: Oct 2003
Location: London
Posts: 113
Re: Pushpin Problem

Hi Peter. Your code runs fine on my MP2006. I can't help thinking the error 4000 and not being able to add a pushpin using the package are likely to be the same issue. Anyway I've exhausted my level of knowledge. Hopefully someone in this forum with a deeper understanding than me will know how to proceed. 3 things you might try:

- there is a thread referenced at the bottom of this page which has some similarity, although as you've re-loaded MapPoint I can't see it being a corrupt file
- you may want to air the error 4000 issue in a more general, more techy forum
- one thing that struck me, when you try to add the pushpin using the package, and it disappears, does MapPoint still think there's a pushpin there or not. For example if you export to excel does it identify the pushpin?

Sorry, I know this isn't much help.
__________________
David
MapPoint Europe Gallery at http://www.broomanalysis.plus.com/gallerylist.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 08-31-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,122
Re: Pushpin Problem

Hi,

Looks a VB interpreter runtime error to me. What if you try exactly the same on a different system ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 09-02-2007
Junior Member
White Belt
 
Join Date: Aug 2007
Posts: 7
Re: Pushpin Problem

Hi,

The problem is now solved, but only after a complete re-install of Windows XP

Must have been something to do with the OS.

Thanks to all who replied.


Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 01-15-2008
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,480
Blog Entries: 1
Re: Pushpin Problem

Just thought I'd follow up with a potential solution in case someone else is in the same boat, read this thread and try the suggestions

MAPPOINT - Problem : Pushpin is NOT displayed
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
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
problem, pushpin


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/pushpin-problem-6198.html

Posted By For Type Date
Implementing Location-Based Functionalities with the MapPoint Web Service - MapPoint Articles - MP2K Magazine This thread Refback 09-05-2007 05:25 AM
Microsoft MapPoint 2006 - MP2K Magazine This thread Refback 09-05-2007 04:27 AM
10 Second Tutorial: Screenshots! - MapPoint Articles - MP2K Magazine This thread Refback 09-03-2007 11:27 AM
Map Visitors - Powered by Virtual Earth This thread Refback 08-31-2007 01:38 AM
MapPoint Articles - MP2K Magazine This thread Refback 08-30-2007 09:28 AM
The Magazine for MapPoint - MP2K Magazine This thread Refback 08-30-2007 09:00 AM

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
MAPPOINT - Problem : Pushpin is NOT displayed Transit MapPoint 2006/2009 Discussion 8 01-15-2008 02:07 PM
Problem: Pushpin -> Polyline Michelin MapPoint 2006/2009 Discussion 1 02-26-2004 01:31 PM
Finding Pushpin Name by clicking on the Pushpin?(MP 2002) NickSP MapPoint 2006/2009 Discussion 4 01-10-2003 01:11 PM


All times are GMT -5. The time now is 11:10 PM.


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


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