MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Is there a way to remove programaticaly (VB) all p....

This is a discussion on Is there a way to remove programaticaly (VB) all p.... within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Is there a way to remove programaticaly (VB) all pushpins in the active map. Maybe for each pushpin in ? ...


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 Thread Tools Display Modes
  #1 (permalink)  
Old 06-17-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Is there a way to remove programaticaly (VB) all pushpins in the active map.

Maybe for each pushpin in ? (do not now what collection!)
pushpin.delete
next pushpin

Any sample vb code would be appreciated.
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 06-17-2002
Senior Member
Green Belt
 
Join Date: Aug 2002
Posts: 124
Delete all of the datasets (using the ActiveX control):


Dim objDataSet As MapPoint.DataSet

Dim objMap As MapPoint.Map


Set objMap = ctlMapPoint.ActiveMap

For Each objDataSet In objMap.DataSets

objDataSet.Delete

Next


- Walt Cygan
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
programaticaly, remove


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
Remove Detail k8thnote MapPoint 2006/2009 Discussion 2 03-01-2006 06:56 PM
Remove Pushpin Anonymous MapPoint 2006/2009 Discussion 1 08-09-2004 10:57 PM
How Do I remove Cities? Anonymous MapPoint 2006/2009 Discussion 2 02-18-2004 03:03 PM
Remove placenames on map ndavies MapPoint 2006/2009 Discussion 0 09-19-2003 04:29 AM
Remove items from the menu Zanzibar MapPoint 2006/2009 Discussion 0 12-23-2002 05:39 AM


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