I have a VB.NET app that generates KML to show within Google Earth. I simply do a Process.Start on the .KML file created. The problem is obviously “what if Google Earth isn’t installed” and that’s what I want to avoid.
Is there a way, in Windows, (not web) to determine if Google Earth is installed? If not, I’ll prompt them that it’s required, if so, I’ll proceed with the process.
Thank you.
Check the registry for HKEY_CURRENT_USER\Software\Google\Google Earth Plus\
…never done this myself but it seems logical.