473,395 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

MapPoint and Access - How to automate?

I have an address form in Access 2003 that contains the usual address
information such as AddressLine1, AddressLine2, City, State, etc... I would
like to put a button on this form that feeds the address info into MapPoint,
along with a fixed return address, and gets driving directions - or at least
get a map of the destination.

I have the MapPoint software, but have not used it. Will MapPoint provide
driving directions, or just a map? Anyone have some canned VBA code they
would care to share?

Thanks!
Nov 12 '05 #1
4 8370
On Thu, 08 Jan 2004 01:40:15 GMT, "deko" <dj****@hotmail.com> wrote:

You'll need to read up on Automation. Using it, you can utilize
MapPoint's object model and do everything an interactive user can do.
You'll find the Find method, which you can feed a more-or-less
complete address, and it will find one or more hits.
Having MapPoint calculate a route between two points also is just a
dozen or so lines of code. You'll probably find some sample code
included with a full installation of MapPoint, or on microsoft.com.

I once wrote an add-in for Act! contact manager that did just that. A
bit more code than I'm willing to share here, but really not all that
difficult.

-Tom.

I have an address form in Access 2003 that contains the usual address
information such as AddressLine1, AddressLine2, City, State, etc... I would
like to put a button on this form that feeds the address info into MapPoint,
along with a fixed return address, and gets driving directions - or at least
get a map of the destination.

I have the MapPoint software, but have not used it. Will MapPoint provide
driving directions, or just a map? Anyone have some canned VBA code they
would care to share?

Thanks!


Nov 12 '05 #2
Hi,

the various samples, provided at www.mp2kmag.com will help you here, but you
need a small bit of VBA knowledge, to do that. Also
http://msdn.microsoft.com/mappoint
contains interesting samples

Mappoint contains also a routing part, not only streets.

I think, the right forum for your question is microsoft.public.mappoint

--
mfg

Klaus Oberdalhoff [MVP]

deko wrote:
I have an address form in Access 2003 that contains the usual address
information such as AddressLine1, AddressLine2, City, State, etc...
I would like to put a button on this form that feeds the address info
into MapPoint, along with a fixed return address, and gets driving
directions - or at least get a map of the destination.

I have the MapPoint software, but have not used it. Will MapPoint
provide driving directions, or just a map? Anyone have some canned
VBA code they would care to share?

Thanks!


Nov 12 '05 #3
thanks for the tip. I will check it out.

"Klaus Oberdalhoff [MVP]" <ko**@gmx.de> wrote in message
news:bt*************@news.t-online.com...
Hi,

the various samples, provided at www.mp2kmag.com will help you here, but you need a small bit of VBA knowledge, to do that. Also
http://msdn.microsoft.com/mappoint
contains interesting samples

Mappoint contains also a routing part, not only streets.

I think, the right forum for your question is microsoft.public.mappoint

--
mfg

Klaus Oberdalhoff [MVP]

deko wrote:
I have an address form in Access 2003 that contains the usual address
information such as AddressLine1, AddressLine2, City, State, etc...
I would like to put a button on this form that feeds the address info
into MapPoint, along with a fixed return address, and gets driving
directions - or at least get a map of the destination.

I have the MapPoint software, but have not used it. Will MapPoint
provide driving directions, or just a map? Anyone have some canned
VBA code they would care to share?

Thanks!

Nov 12 '05 #4
I'm fairly confident of my understanding of Automation, but I have not
installed MapPoint yet - so that might be a good place to start...

Thanks for the reply!
"Tom van Stiphout" <to*****@no.spam.cox.net> wrote in message
news:l9********************************@4ax.com...
On Thu, 08 Jan 2004 01:40:15 GMT, "deko" <dj****@hotmail.com> wrote:

You'll need to read up on Automation. Using it, you can utilize
MapPoint's object model and do everything an interactive user can do.
You'll find the Find method, which you can feed a more-or-less
complete address, and it will find one or more hits.
Having MapPoint calculate a route between two points also is just a
dozen or so lines of code. You'll probably find some sample code
included with a full installation of MapPoint, or on microsoft.com.

I once wrote an add-in for Act! contact manager that did just that. A
bit more code than I'm willing to share here, but really not all that
difficult.

-Tom.

I have an address form in Access 2003 that contains the usual address
information such as AddressLine1, AddressLine2, City, State, etc... I wouldlike to put a button on this form that feeds the address info into MapPoint,along with a fixed return address, and gets driving directions - or at leastget a map of the destination.

I have the MapPoint software, but have not used it. Will MapPoint providedriving directions, or just a map? Anyone have some canned VBA code they
would care to share?

Thanks!

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bob Mortensen | last post by:
I am working with large numbers of data sets and I need to automate the process of creating drive time zone excell spredsheet or Access outputs. Here is my challenge....I have two push pin sets,...
1
by: Bob Mortensen | last post by:
I am working with large numbers of data sets and I need to automate the process of creating drive time zone excell spredsheet or Access outputs. Here is my challenge....I have two push pin sets,...
2
by: trapeze.jsg | last post by:
Hi. Is there anybody who have tried to use python to access Microsofts MapPoint soap services? I am trying hard but I have run into a big thick wall called md5 digest authentication. The...
3
by: tom | last post by:
Hi All, We have an Access XP application in which we utilize automation to control MS MapPoint 2004. It works pretty well, for the most part. Now, we would really like to use the MapPoint...
2
by: Gil | last post by:
I am automating mappoint in access and was wondering what is a better way to have the mappoint map running all the time: 1.call it as a seperate application OR 2. as an activex control within a...
1
by: Gil | last post by:
hello, im automating mappoint through access to get mileage between two address fields. when ever i call the function it makes mappoint the focus, and i have to reclick the access screen to regain...
0
by: Eric Frost | last post by:
New article on using Python scripting to automate map-making with example code, see screenshots. Using Python to Control MapPoint, Part 2 «Second of a two-part article by Richard Marsden on...
0
by: ssaraslm | last post by:
In web application, can i use microsoft mappoint 2006 in asp.net 2005/c# ? mappoint 2006, asp.net 2005/c# ...i added mappoint control 13.0 It added only windows toolbar.. not web toolbar but...
0
by: Arcturus | last post by:
I am new to Access Monster forums. I developed an Access form which employees add their daily route. The form contains a sub-form in data-sheet (tabular) view where users add address and other...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.