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:
References

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

Result:
Result

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)”

    Leave a Reply

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