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

Home Locator Sample Application

This is a discussion on Home Locator Sample Application within the MP2K Magazine Articles forums, part of the Map Forums category; John Washenberger writes, "In the spirit of the MDB 'Circus' Contest, the application I have submitted could be considered a ...

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

    Home Locator Sample Application

    John Washenberger writes, "In the spirit of the MDB 'Circus' Contest, the application I have submitted could be considered a 'three-ring extravaganza'."

    Read the full article: http://www.mp2kmag.com/articles.asp?ArticleID=74

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

    Minor Code Change...

    A person reviewing the article sent me an email indicating that a parameter was missing in the FindAddressResults call in subroutine MapSelectedProperties found behind frmMain. The call did not include a place holder for the third parameter. The line should be changed from:


    Set objLoc = objMap.FindAddressResults(rstHome!strStreet, rstHome!strCity, rstHome!strState, rstHome!strPostalCode)(1)

    to:

    Set objLoc = objMap.FindAddressResults(rstHome!strStreet, rstHome!strCity, , rstHome!strState, rstHome!strPostalCode)(1)

    Thanks,

    John

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

    How do I get to look at your code?

    How do I get to look at your code?

    I can run the sample but how do I get it to let me look at the code?

    :?

  4. #4
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Hold down the shift key when opening the database..
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  5. #5
    ToddRCS is offline Junior Member White Belt
    Join Date
    Nov 2002
    Posts
    4

    Ability to process events resulting from an instance of MP

    This article has enlightented us on usage of the MapPoint Object and controlling the object directly instead of using the OCX Control. We have been having difficulty in what we think is timing issues between the Mappont and our Access code being that the "Object becomes unavailable" even after checking the ReadyState of the control. So we want to investigate automating Mappoint directly and it appears this code sample does not have to check the readystate to run sucessfully.

    The question that comes up is when using the Object this way, would the events available through the Mappoint Control OCX be lost? (e.x. SelectionChange event).

    We want to be able to use the selected object (i.e. free-form shape or push-pin) that the user selected and process our Access data when the user clicks on a button on the parent form. We now use the SelectionChange event to keep track of the object selected. We can not see how they might be available yet.

    Is there another way to determine the selected object? Do we have to go back to school on Access, Windows API and Object programming?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Address locator
    By paruvada in forum Bing Maps and MapPoint Web Service
    Replies: 0
    Last Post: 03-23-2006, 04:57 PM
  2. integrating Mappoint into my home grown application
    By sam_ahn612 in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 03-14-2005, 11:34 AM
  3. Sample application in c#
    By alt-088 in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 09-16-2004, 04:35 PM
  4. Looking for proximity locator solution
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-14-2003, 04:28 AM
  5. Problems with Lat/long and locator.
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-19-2002, 09:11 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