MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




mappoint dataset - pushpins

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 ...


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 11-04-2003
Junior Member
White Belt
 
Join Date: Oct 2003
Posts: 2
Send a message via MSN to itmanager
mappoint dataset - pushpins

i used the import wizard to import a table in the form of pushpins. is there a way globally toggle the pushpin balloons on /off and to control the content of the balloons?

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
__________________
ken edwards
medic onc, inc.
cincinnati, ohio
ken@medicone.cc
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 11-07-2003
Senior Member
Green Belt
 
Join Date: Sep 2003
Posts: 103
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
Hope this helps.
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
dataset, mappoint, pushpins


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
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


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

Lanzarote Holiday
Enjoy a Lanzarote holiday when you check out the offers on UlookUbook and save cash!



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