Solved

Google Earth

Posted on 2011-09-24
4
621 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to App 4 97
VB.net Open Folder in Windows Explorer 3 54
vb.net winforms sizing/resolution? 4 42
VB.NET 2008 - SQL Timeout 9 34
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

861 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