VB.Net Open Google Earth (Google Earth API)

This article explains how you can use VB.Net to open google earth.

Note: The google earth API will only be available if you have Google Earth installed on your computer.

The first step would be to add reference to the Google Earth 1.0 Type Library. Note the version might be different on your computer:

Using the code below you will be able to open google earth:

Module Module1
    Sub main()
        Dim appGoogle As EARTHLib.ApplicationGE
        appGoogle = New EARTHLib.ApplicationGE
    End Sub
End Module


You can download the file and code used in this article from the link below:

One thought on “VB.Net Open Google Earth (Google Earth API)”

  1. jatay says:

    hi dear
    in my form i click on “open image” and it display image in “picturebox1”. now i want run “google earth” and this image send to “google earth”. and open in “google earh” like “overlay image”
    i can ran “google earth” but i dont know how to send and open image in “google earh”.
    i wait to your help! please tutorial me.
    so thanks your help

Leave a Reply

Your email address will not be published. Required fields are marked *