songjingyu / winforms-geplugin-control-library

Automatically exported from code.google.com/p/winforms-geplugin-control-library
0 stars 0 forks source link

COMException #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Use this code (from example) in a VB 2013 project:

' Get the current view.
        Dim camera = ge.getView().copyAsCamera(ge.ALTITUDE_RELATIVE_TO_GROUND)

        ' Add 30 degrees to the current tilt
        ' and 45 to the roll.
        camera.setTilt(camera.getTilt() + 30.0)
        camera.setRoll(camera.getRoll() + 45.0)

        ' Update the view in Google Earth.
        ge.getView().setAbstractView(camera)

2. Execute (F5) and the error is:

System.Runtime.InteropServices.COMException was unhandled
  ErrorCode=-2147467259
  HResult=-2147467259
  Message=Error no especificado (Excepción de HRESULT: 0x80004005 (E_FAIL))
  Source=""
  StackTrace:
       en Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn)
       en Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack, Boolean IgnoreReturn)
       en gearth.Form1.Button1_Click(Object sender, EventArgs e) en C:\gearth\gearth\Form1.vb:línea 31

The version is r545 from svn.

Please provide any additional information below.

Original issue reported on code.google.com by alfredo....@gmail.com on 17 Nov 2014 at 5:37

GoogleCodeExporter commented 9 years ago
No further development now that the Earth API is depreciated. 

Original comment by fraser.c...@gmail.com on 17 Dec 2014 at 3:20