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

I am new to mappoint, and still learning in VBA. ....

This is a discussion on I am new to mappoint, and still learning in VBA. .... within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am new to mappoint, and still learning in VBA. I am writing an application in Access Projects, linked to ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    I am new to mappoint, and still learning in VBA. I am writing an application in Access Projects, linked to a SQL Server. I need to be able to have the user select an address, press a button and have that address appear on the map. I have got the map to open, but do not know how to pass the address to the map. Any help would be greatly appreciated, or at least point me to a book or reference that I can use. Thanks in advance

  2. #2
    Walt Cygan is offline Senior Member Green Belt
    Join Date
    Aug 2002
    Posts
    124
    First, use the "Microsoft MapPoint Visual Basic Reference" under the
    "Programming Information" topic in MapPoint help for information about
    the MapPoint object model.



    Use the FindResults method with the address to do the equivalent of the
    Find box in MapPoint.



    From Help:

    <pre>
    'Output first result of find search
    Set objFindResults = objApp.ActiveMap.FindResults("Seattle, WA")
    MsgBox "The first item in the find list is: " _
    + objFindResults.Item(1).Name
    </pre>


    - Walt Cygan

Thread Information

Users Browsing this Thread

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

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