Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 10 of 10

Open all pushpins balloons at once?

This is a discussion on Open all pushpins balloons at once? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, Do any of you guys know how to open the balloons on all pushpins at once? Where I work ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Open all pushpins balloons at once?

    Hi,

    Do any of you guys know how to open the balloons on all pushpins at once? Where I work uses Mappoint to get a list of coordinates with a name and description from an SQL server, I don't deal with the backend stuff I'm just the one that has to double click on 60 pushpins a day, which on a slow VNC link is a bit boring.
    I guess the maps been spread over a wall built from 14 50" DLP projection cubes makes up for it :)

    Hope you can help

    ben

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Ben,

    Not sure of anyway to do that without code (Visual Basic or something like that). Sounds like you would have to ask your administrator or whoever to see if they could add that function. If they are importing from data from SQL chances are they might know how to add a command button for you to toggle the balloons on and off. If thay are willing to help you but don't know how to do it, point them here....

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    thanks for the reply,

    at least i know i'm not missing anything obvious. I have been speaking to the admin and he has no idea on how to do it. I imagine he would look into harder if he had to do it every day though ;)

    I should probably start a new thread but does any one know how i would make the railway lines stand out more on the map?

    ben

  4. #4
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    Re: Open all pushpins balloons at once?

    I have developed a code which you might be able to run and get all the ballons to pop up with the info. Let me know if you want me to send you the .exe file




    Quote Originally Posted by Ben Shaw
    Hi,

    Do any of you guys know how to open the balloons on all pushpins at once? Where I work uses Mappoint to get a list of coordinates with a name and description from an SQL server, I don't deal with the backend stuff I'm just the one that has to double click on 60 pushpins a day, which on a slow VNC link is a bit boring.
    I guess the maps been spread over a wall built from 14 50" DLP projection cubes makes up for it :)

    Hope you can help

    ben

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    that would be sweet, send it to me. i'll let you know how i get on.

    thanks
    ben
    Last edited by Eric Frost; 01-26-2011 at 07:58 AM.

  6. #6
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478

    Re: Open all pushpins balloons at once?

    I'm sure people would be intrested in seeing the code if you would not mind sharing with us...

    [quote="Anonymous"]I have developed a code which you might be able to run and get all the ballons to pop up with the info. Let me know if you want me to send you the .exe file

  7. #7
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Ok, this question seems to come up alot so here is the code to get the balloons to pop up for each pushpin on a mappoint map. In Visual Basic make sure you have a Reference to Microsoft Mappoint 9.0 Object Library (North America) I put this code in a command button as an example. Keep in mind there is no error checking here and if you were not running mappoint at all you would get an error.

    Private Sub Command1_Click()
    Dim objmap As MapPoint.Map
    Dim objDataSet As MapPoint.DataSet
    Dim objRecordset As MapPoint.Recordset

    Set objmap = GetObject(, "MapPoint.Application").ActiveMap
    For Each objDataSet In objmap.DataSets
    Set objRecordset = objDataSet.QueryAllRecords
    Do Until objRecordset.EOF
    objRecordset.Pushpin.BalloonState = geoDisplayBalloon
    objRecordset.MoveNext
    Loop
    Next

    End Sub

  8. #8
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    John,

    That worked a treat, thank you very much. I have had to use your code in an Access form as VB is not installed on our machines. I will pass it on to the BOFH so he can integrate it.

    you the man
    ben

  9. #9
    jerryn3 is offline Junior Member White Belt
    Join Date
    Sep 2002
    Posts
    1

    Pushpin Baloons

    Is there any way I can get that file?

  10. #10
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    Jerry,

    I've developed a COM Addin for some of my clients that I plan to make available via a web site in the near future. In the mean time you can contact me directly if intrested. (I do charge for the software.)

    For those intrested, the COM Addin allows you to select All Datasets or choose one from a pull down menu. You can then choose the balloon state (All info, Just name or None).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. BALLOONS
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 02-23-2005, 09:14 AM
  2. Importing Balloons that stay open
    By Anonymous in forum Wish List
    Replies: 0
    Last Post: 02-23-2005, 09:02 AM
  3. Help Please.....Mappoint VB6 Save Map/ Open Map / Pushpins
    By questphil in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-15-2004, 10:16 AM
  4. Saving a map with many balloons
    By BTurrel in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-30-2003, 03:08 PM
  5. pushpin balloons
    By Manuel in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-04-2002, 06:55 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83