Forum posts for googleearth.exe

KML not opening in Google Earth through VB.net

I am writing an app for opening KML file using Google earth installed on my PC. But my code is not finding the file.

This is my code:

Public Class openkml
Sub kmlopener()
Dim ge As String
Dim gf As String
ge = 'C:Program Files (x86)GoogleGoogle Earthclientgoogleearth.exe'
gf = 'C:Program Files (x86)GoogleGoogle Earthclientabc.kml'


Process.Start(ge, gf)
End Sub

End Class


Also, just typing this in command line ( DOS ) opens file :

'C:Program Files (x86)GoogleGoogle Earthclientgoogleearth.exe' abc.kml


File is present in the mentioned location. Google earth opens, but does not finds the file. I have put the kml file in different directory also, like D directory, but shows same error. Below is the screenshot of the error.

View complete forum thread with replies

Other posts related to googleearth.exe

See Related Forum Messages: Follow the Links Below to View Complete Thread

How to find the installation directory of a third party application, such as Google Earth, u…
How to get the path of an unrelated file with java?
KML not opening in Google Earth through VB.net
Embedding Google earth in QT
Closing and Opening a .exe with a batch file. Upon closing the program asks to save or not
KML to control Optional Features (such as “Tour Guide”)
/f /im not working properly

What is the carbon footprint of your coffee?

Is it low? Is it high? Can this things really kill the planet Earth? Maybe the answer will surprise you. Maybe not.