Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on mappoint dataset - pushpins within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; i used the import wizard to import a table in the form of pushpins. is there a way globally toggle ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| mappoint dataset - pushpins i would like to initialize the balloon with the pushpin name and then toggle on the detailed address info. i have played around with datasets and dataset but have little luck. HELP! ken edwards itmanager00@msn.com |
| |||
|
I had a similar problem and found I could do something along these lines with VB by importing the dataset into a recordset and then looping through each pushpin in the recordset and setting its ballon state. Code: Dim gappmp As New MapPoint.Application
Dim objMap As MapPoint.Map
Dim objRecords As MapPoint.Recordset
Set gappmp = CreateObject("MapPoint.Application")
gappmp.NewMap "C:\AnyFolder\AnyMap.ptm"
gappmp.Visible = True
gappmp.UserControl = True
Set objMap = gappmp.ActiveMap
Set objRecords = objMap.DataSets.Item(1)
Do While Not objRecords.EOF
objRecords.Pushpin.BalloonState = geoDisplayBalloon
'BallonState can also be geoDisplayName or geoDisplayNone
objRecords.MoveNext
Loop
objRecords.MoveFirst
|
![]() |
| Tags |
| dataset, mappoint, pushpins |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing a dataset symbol - MapPoint 2002 | Goldwings98SE | MapPoint 2006/2009 Discussion | 1 | 06-21-2005 08:55 AM |
| Finding nearest pushpins in dataset | Dazzer | MapPoint 2006/2009 Discussion | 3 | 10-17-2003 08:38 AM |
| Change the symbol of the Pushpins in a DataSet. | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-15-2002 08:36 PM |
| Pushpins and Dataset information not displayed | bkwhite | MapPoint 2006/2009 Discussion | 0 | 10-25-2002 09:32 AM |
| If I have one dataset with 300 pushpins, how do i .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 02-26-2002 12:52 PM |
Lanzarote Holiday
Enjoy a Lanzarote holiday when you check out the offers on UlookUbook and save cash!