MapPoint Forums

MapForums

Community of VE/MapPoint 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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #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


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 08:12 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

Cheap Flights Turkey
Cheap flights to Turkey are a reality when you book online with Holiday Hypermarket. Discover Turkish delights with Turkish cheap flights.

City Breaks
Book a city break with Travel Counsellors. A personal travel advisor will help you make the most of your city break.

Thailand Holiday
A Thailand Holiday has much to offer with historic culture, lively arts, beautiful beaches, a good nightlife, friendly and hospitable people and one of the best cuisines in the world.

Holidays to Barbados
Holidays to Barbados have so much to offer. Enjoy the beauty of this Caribbean island for less by booking your holiday through us.

Canaries
Find out all about the Canaries when you check out the ulookubook.com travel guides. Not only can you get a great holiday deal but you can find out useful information about potential holiday destinations.

Air Travel
Interested in air travel? Search and compare millions of holidays, flights and hotels with our help at Travel.co.uk

Cheap Holidays in Gran Canaria
Would you like to visit the Canary Islands, but you're on a budget? Get information on cheap holidays in Gran Canaria at On The Beach.


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