Aamir Zafar
unread,Nov 3, 2009, 1:15:51 PM11/3/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KML Developer Support - Third Party Applications
Hi, i am new to visual studio 2005 and learning it . I have a problem
in using google earth in visual studio 2005 in run time. i had seen
some COM components of GEPlugin but it gives me error as follows:
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Failed to create component 'AxHost'. The error message follows:
'System.InvalidCastException:Unable to cast COM object of type
'System._ComObject' to interface 'IOleObject'.This operation failed
because the Queryinterrface call on COM component for the interface
IID "{ 00000112-0000-0000-C000-000000000046}" failed due to the
following error:No such interface supported (Exception HRESULT:
0X80004002 (E_NOINTERFACE)).
at
System.Windows.Forms.Design.DocumentDesigner.AxToolboxItem.CreateComponentCore
(IDesignerHost host)
at System
System.Drawing.Design.ToolboxItem.CreateComponents(IDesignerHost
host,IDictionary defaultValues)
at
System.Drawing.Design.ToolboxItem.CreatComponnets(IDesignerHost
host,IDoctionary defaultValues)
at
System.Windows.Forms.Design.OleDragDropHandler.CreateTool(ToolboxItem
tool,Control parent,Int32 x,Int32 y,Int32 width,Int32
height,Boolean,hasLocation,Boolean hasSize,ToolboxSnapDrag
DropEventsArgse)')
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
i dont know what to do cant remove this error when i drag and drop the
COM component from toolbox.
now how can i open google earth from visual basic 2005 and kill the
process and update my KML file and such that visual studio 2005 reads
automatically reads the kml file stored at some place in run time .
and kml is loaded in run time.
If there is any way to do it , any links or codes i would be much
grateful to you.
i need ur help and its urgent .Please help!
Regards,
Aamir