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

Mappoint in an office enviroment - mp2k example

This is a discussion on Mappoint in an office enviroment - mp2k example within the MapPoint Desktop Discussion forums, part of the Map Forums category; hi, i am having trouble using mappoint in a office enviroment. i have been able to use the mp2k example ...

  1. #1
    doddsHH is offline Junior Member White Belt
    Join Date
    Jan 2005
    Posts
    5

    Mappoint in an office enviroment - mp2k example

    hi, i am having trouble using mappoint in a office enviroment.

    i have been able to use the mp2k example in access form but when it comes to integreating with a access REPORT, i am unable to paste the directions from clipboard or copy the image map to the report.

    i am using mappoint 2004 and office 2003

    http://www.mp2kmag.com/articles.asp?ArticleID=39

    has any bright spark got any ideas??

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Try the Home Locator sample application article.. -
    http://www.mp2kmag.com/a74--home.locator.mappoint.html

    Another approach that may seem a bit unusual is used to generate a report that includes a map. When the report is opened, the application first saves the map as a web page and then strips out the GIF file that is used in the Access report.
    hope this helps!
    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    doddsHH is offline Junior Member White Belt
    Join Date
    Jan 2005
    Posts
    5
    do you know where i can have a look at the code for this?

    can you use the mappoint control in a access report???

  4. #4
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    I don't believe so.. can you embed other controls on an Access report?

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  5. #5
    doddsHH is offline Junior Member White Belt
    Join Date
    Jan 2005
    Posts
    5
    is there any where i can download the code for the Home Locator sample application article?

  6. #6
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    See the download link at the bottom of the article -
    http://www.mp2kmag.com/downloads/homelocator.zip

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  7. #7
    doddsHH is offline Junior Member White Belt
    Join Date
    Jan 2005
    Posts
    5
    thanks, i have already downloaded the file but i am unable to view the source code. is there anywhere i can view vb code ?

    i am starting to run out of ideas for using mappoint with a access report, do you think it can be done, to produce directions and a image of a map from a database in a access report ???

  8. #8
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Yes, it's possible as the demo shows.. but it sounds like you might need to enlist someone who knows Access development to get it to work for you..

    Hold down the shift key while opening the database, this will prevent "autoexec" events from firing and allows access to the database window.

    The code John Washenberger put in the report is -

    Code:
    Option Compare Database
    Private Sub Report_Open(Cancel As Integer)
      'Display the Map as the report's picture
      Me.Picture = GetAppDir & "map.gif"
    End Sub
    The forms have a lot more code.

    good luck!
    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  9. #9
    doddsHH is offline Junior Member White Belt
    Join Date
    Jan 2005
    Posts
    5
    thats great.


    do you also know if it is possible to save the directions to a text file?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mappoint 2004 & Office 2003 compatibility problem
    By javigdiaz in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 12-16-2004, 10:24 AM
  2. MapPoint 2004 Office Add-In error
    By StephenBurd in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 06-10-2004, 10:41 PM
  3. MP 2002: does it do the job also with non-XP Office?
    By pwy in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 05-14-2003, 06:29 PM
  4. Office 2003 conflicting with MapPoint 2002
    By Eric Frost in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 03-11-2003, 10:56 PM
  5. Mappoint control in an Office Application using VBA
    By ToddRCS in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 11-19-2002, 05:00 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