Solved

Google Earth

Posted on 2011-09-24
4
620 Views
Last Modified: 2012-05-12
Hi,
I working with application that create kmz files. Everything is OK if I open those file from Google Earth.
Now next step I want to save them in some project and show then in project tree. By doubling clinking Google Earth have to activates and open file. How call Google Earth from VB net?
0
Comment
Question by:mastiSoft
  • 2
  • 2
4 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 36592878
0
 
LVL 1

Author Comment

by:mastiSoft
ID: 36593093
hi,
this is about to call and open then program. But how to call open some file when this program starts.


0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 36593762
You can use Process.Start supplying the filename. Once Google Earth starts, you can show it within your own app.
0
 
LVL 1

Author Closing Comment

by:mastiSoft
ID: 36597456
Thank you, It was way to fine the best solution.
 System.Diagnostics.Process.Start("C:/Program Files/Google/Google Earth/client/googleearth.exe", "C:\10.kmz")
this is really short and works file.
Thank you very much.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
This video teaches viewers about errors in exception handling.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question