I follow this tutorial
to embed google in my windows form c# application.
This is the code i've used to search in google earth app:
try
{
SearchControllerGE srch = new SearchControllerGE();
srch.Search(textBox7.Text); //textBox7.Text = "India"
FeatureCollectionGE fcge = srch.GetResults();
}
catch(Exception eXZ)
{
MessageBox.Show(eXZ.Message);
}
srch.Search
throw an exception here is the exception message:
error HRESULT E_FAIL has been returned from a call to a COM component
Please if there is anybody have Previous experience about linking c# application with google earth by COM API Only without any Javascript API help me in that.
linking c# application with google earth by COM API Only without any Javascript API.