Do you have to convert a map or can you pass an address to google earth? Perhaps Sergey's solution work for you?
Re: Google Earth Message #
1175094>Hello.
>I came to this wonderful freeware program shp2kml, which converts maps in ESRI/SHP format to KML and then displays them in Google Earth. Amazing stuff.
>
>I'd like to integrate it into my application, but the sad thing is that the program is a standard exe with no command line options and no API or any other interface.
>
>
>The fields to fill are rather common. You have to input 3 screens like a wizard and then voila, your map opens in Google Earth.
>
>Maybe there is a way to send keystrokes from my VFP application to this exe?
>
>Any other way to record a keyboard script to automate this application you can think of?
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"