MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




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 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-15-2002
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 04-15-2002
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
learning, mappoint, vba


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 03:45 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


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