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

making a pushpin a hyperlink

This is a discussion on making a pushpin a hyperlink within the MapPoint Desktop Discussion forums, part of the Map Forums category; yet another quesiton from me..... this is sort of a continuation from this thread: http://www.mapforums.com/getting-lat...hpin-6483.html So my new/next question is, ...

  1. #1
    atom is offline Junior Member Yellow Belt
    Join Date
    Feb 2007
    Location
    New York
    Posts
    19

    making a pushpin a hyperlink

    yet another quesiton from me.....

    this is sort of a continuation from this thread:

    getting lattitude and longitude from a pushpin


    So my new/next question is, how can i make a pushpin a hyperlink?

    what i want to do is if I click on a pushpin, I need it to link to a specific worksheet in a excel file.

    For example, I have a pushpin named : xxxxºn x xxxºW and I want it to link to a worksheet in excel with the same name. Inside that worksheet will be a visual graph of what that pushpin represents (in my profession, it will be a fiber optic splice enclosure w/ a wiring diagram)

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: making a pushpin a hyperlink

    Hi,

    PushPin object has a Hyperlink property. You can give it the URL you want, for example:
    Code:
      PushPin pp = MP.ActiveMap.AddPushPin(..);
      pp.Hyperlink = "http://blablabla";

  3. #3
    atom is offline Junior Member Yellow Belt
    Join Date
    Feb 2007
    Location
    New York
    Posts
    19

    Re: making a pushpin a hyperlink

    awesome! where can i find the property for the pushpin?

    right-click on the pushpin and properties obviously doesnt bring me to a CLI like that.

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: making a pushpin a hyperlink

    Hi,

    Sorry think I misunderstand. I meant programatically. I don't think you can do that in the standalone executable.

  5. #5
    atom is offline Junior Member Yellow Belt
    Join Date
    Feb 2007
    Location
    New York
    Posts
    19

    Re: making a pushpin a hyperlink

    i understand that. can tell me how i would go about finding/programming that code?

  6. #6
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: making a pushpin a hyperlink

    Hi,

    You can use Mappoint in a program of your own. That can be any programming language, including VBA that comes with excell / access etc.

  7. #7
    atom is offline Junior Member Yellow Belt
    Join Date
    Feb 2007
    Location
    New York
    Posts
    19

    Re: making a pushpin a hyperlink

    so what would I do? open my mappoint file in VB or something? it will then give me the code and i will have to scroll down until i find the code for the pushpins?

  8. #8
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433

    Re: making a pushpin a hyperlink

    Hi,

    No it is not that simple. You have to install a programming language, or you can do all of it with Excel or Access because it has build in programming language called VBA. In that language you can make a form and put mappoint map on it writing some code. Same for pushpins etc. But you then run your own program, not mappoint standalone version.

    I assume you have never done any programming ? In that case you have to study the thing first a little, it is not that hard if you dont want very complicated things. There are also some tutorials on this site where you can find some information and examples.

    If you study them a little and think you can do it, then give it a try. Lots of people over here are able to help.

  9. #9
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: making a pushpin a hyperlink

    test -- please ignore this test
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Making Pushpin Locations Immoveable
    By Anonymous in forum MP2K Magazine Articles
    Replies: 7
    Last Post: 02-11-2010, 10:50 AM
  2. Opening an application from hyperlink of Pushpin
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 07-21-2009, 02:49 PM
  3. How can I use a hyperlink without saving as a webpage
    By Dan Haglund in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 10-24-2005, 01:55 PM
  4. TIP: Creating A HyperLink Map to Find Polling Place
    By Eric Frost in forum MapPoint Desktop Discussion
    Replies: 4
    Last Post: 11-17-2004, 12:31 AM
  5. Hyperlink problems
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-08-2003, 11:48 AM

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 84 85 86 87 88 89 90 91 92 93 94 95 96