> Hi , Has Anyone have an Class or program that let me interact with
> Mappoint in order to show in a VFP screen an address and some coordanates
> around it with input data comming from VFP.
Mappoint have a OCX which you can use with VFP as activeX
search in http://www.mapforums.com/ and have a look at
http://www.mp2kmag.com/
greetings by OHR
Jimmy
using Xbase++ v1.9.355 SL1 with MP activeX
There was a MapPoint and Foxpro article years back, perhaps that will help?
http://www.mp2kmag.com/a43--charlie.parker.foxpro.mappoint.html
Eric
"AUGE_OHR" <AUGE_OHR*AT*WEB.DE> wrote in message
news:%23jCxf0p...@TK2MSFTNGP02.phx.gbl...
"Eric Frost - MVP" <efr...@gmail.com> wrote in message
news:uapluHvY...@TK2MSFTNGP05.phx.gbl...
> Thank but I opened the link to umzip the code and ask me for a password !
you meen at unZIP ? ... no, no "upgrade" your "unZIP" (did you use PkWare
v2.04 )
>> http://www.mp2kmag.com/a43--charlie.parker.foxpro.mappoint.html
i can unZIP using WinZIP or Total Commander, but as i�m a Xbase++ User
i can not run that Source.
greetings by OHR
Jimmy
> Yes I could Open and run it but it does not do anything, how can I display
> the Map with an address and some coordinates ? Thanks ,
ok you can Open and Run it but nothing happend ...
So, while the Source is "old" it might have a "old" CLSID and you have to
change it
to the Version you are using now e.g. from "Mappoint 2002" to MP 2009 ?!
i can not test it for you while i�m using Xbase++ and can not run that
it sounds like you don't need graphics from MapPoint, such as a map, but
just data (such as the gps coords for a given address from your db?)
if that's the case, just get the data from mappoint via it's com interface,
and then display on your vfp form as usual. see many vb examples, including
those in the last major section of the MapPoint help file. it's really
extremely easy, needing only a few lines of vfp code to get the data.
hth,
Chip
"Oscar Contreras" <expr...@msn.com> wrote in message
news:utzZ44cY...@TK2MSFTNGP02.phx.gbl...
ok then; look at the VB examples for using the ocx (activex) control which
comes with MapPoint.
in foxpro, you just need to read their help topic on adding an activex
control to your form; if I remember, you add an OLE container object first,
then drop the activex control into the container (although, these may be
instructions for an older version of foxpro; it may be with VFP 9 you can
just drop the activex control right onto your form).
the vb examples will then show you how to use the activex control, put an
address into it, and have it show the map for the area around that address.
it's not hard at all, once you realize you should be using the mappoint
activex control, and not the mappoint com object.
hth,
Chip
"Oscar Contreras" <expr...@msn.com> wrote in message
news:%23WB%23y9cZK...@TK2MSFTNGP05.phx.gbl...